struct lfds700_misc_validation_info

From liblfds.org
Jump to navigation Jump to search

Source File

└───liblfds700
    └───inc
        └───liblfds700
                lfds700_misc.h

Structure

struct lfds700_misc_validation_info
{
  lfds700_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 LFDS700_MISC_VALIDITY_INVALID_MISSING_ELEMENTS or LFDS700_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS from the enum lfds700_misc_validity.

See Also