struct lfds710_misc_validation_info

From liblfds.org
Jump to: navigation, search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_misc.h

Structure

struct lfds710_misc_validation_info
{
  lfds710_pal_uint_t
    min_elements,
    max_elements;
};

Alignment

No alignment requirements.

Notes

This structure is used when performing data structure validation queries. It permits the user to pass in an expected element range, where if min_elements and max_elements are the same the user is in fact specifying an exact value, such that if the number of elements in the data structure is outside of this range, the validation query will report failure, either LFDS710_MISC_VALIDITY_INVALID_MISSING_ELEMENTS or LFDS710_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS from the enum lfds710_misc_validity.

See Also