https://www.liblfds.org/mediawiki/index.php?title=r7.1.0:Enum_lfds710_misc_validity&feed=atom&action=historyr7.1.0:Enum lfds710 misc validity - Revision history2024-03-29T08:26:44ZRevision history for this page on the wikiMediaWiki 1.36.0https://www.liblfds.org/mediawiki/index.php?title=r7.1.0:Enum_lfds710_misc_validity&diff=660&oldid=prevAdmin: 1 revision imported2016-05-07T21:04:55Z<p>1 revision imported</p>
<p><b>New page</b></p><div>{{DISPLAYTITLE:enum lfds710_misc_validity}}<br />
==Source File==<br />
└───liblfds710<br />
└───inc<br />
└───liblfds710<br />
lfds710_misc.h<br />
<br />
==Enum==<br />
enum lfds710_misc_validity<br />
{<br />
LFDS710_MISC_VALIDITY_VALID,<br />
LFDS710_MISC_VALIDITY_INVALID_LOOP,<br />
LFDS710_MISC_VALIDITY_INVALID_MISSING_ELEMENTS,<br />
LFDS710_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS,<br />
LFDS710_MISC_VALIDITY_INVALID_TEST_DATA,<br />
LFDS710_MISC_VALIDITY_INVALID_ORDER<br />
};<br />
<br />
==Values==<br />
''LFDS710_MISC_VALIDITY_VALID''<br />
: Successful validation.<br />
<br />
''LFDS710_MISC_VALIDITY_INVALID_LOOP''<br />
: Validation failed due to a loop existing in the data structure elements (i.e. data corruption, such that a say linked list ended up with one of its elements next pointers pointing to an earlier element).<br />
<br />
''LFDS710_MISC_VALIDITY_INVALID_MISSING_ELEMENTS''<br />
: Validation failed due to the number of elements in the data structure being less than the minimum value specified to the query function by the struct ''[[r7.1.0:struct lfds710_misc_validation_info|lfds710_misc_validation_info]]'' passed to it.<br />
<br />
''LFDS710_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS''<br />
: Validation failed due to the number of elements in the data structure being greater than the maximum value specified to the query function by the struct ''[[r7.1.0:struct lfds710_misc_validation_info|lfds710_misc_validation_info]]'' passed to it.<br />
<br />
''LFDS710_MISC_VALIDITY_INVALID_TEST_DATA''<br />
: Not used by ''liblfds''.<br />
<br />
''LFDS710_MISC_VALIDITY_INVALID_ORDER''<br />
: Not used by ''liblfds''.<br />
<br />
==Notes==<br />
This enum is used by query functions when performing valiation operations to indicate the result of the validation operation. Of the values in the enum, query functions only use the first four (valid, loop, missing, additional). The others are used internally by the ''test'' programme, which is wrong :-) and will soon change.<br />
<br />
==See Also==<br />
* [[r7.1.0:Misc|Misc]]</div>Admin