struct lfds711_misc_validation_info

From liblfds.org
Revision as of 20:16, 17 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_misc.h

Structure

struct lfds711_misc_validation_info
{
  lfds711_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 LFDS711_MISC_VALIDITY_INVALID_MISSING_ELEMENTS or LFDS711_MISC_VALIDITY_INVALID_ADDITIONAL_ELEMENTS from the enum lfds711_misc_validity.

See Also