Changes between Version 16 and Version 17 of ValidationSimple
- Timestamp:
- Sep 14, 2011, 12:44:00 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationSimple
v16 v17 1 = The validator framework=1 = Developing a custom validator = 2 2 3 3 To create a validator using the BOINC framework, you must supply three functions: … … 5 5 extern int init_result(RESULT& result, void*& data); 6 6 }}} 7 This takes a result, reads its output file(s), parses them into a memory structure, and returns (via the 'data' argument) a pointer to this structure. 7 This takes a result, reads its output file(s), parses them into a memory structure, 8 and returns (via the 'data' argument) a pointer to this structure. 8 9 It returns: 9 10 … … 20 21 ); 21 22 }}} 22 This takes two results and their associated memory structures. It returns (via the 'match' argument) true if the two results are equivalent (within the tolerances of the application). 23 This takes two results and their associated memory structures. 24 It returns (via the 'match' argument) true if the two results are equivalent (within the tolerances of the application). 23 25 {{{ 24 26 extern int cleanup_result(RESULT& r, void* data);