GS1 Syntax Dictionary: Linter reference
A reference to the AI component linter routines referred to by the GS1 Syntax Dictionary.
|
The iso4217
linter ensures that the data is in the list of ISO 4217 three-digit currency codes.
GS1_SYNTAX_DICTIONARY_API gs1_lint_err_t gs1_lint_iso4217 | ( | const char *const | data, |
size_t *const | err_pos, | ||
size_t *const | err_len | ||
) |
Used to validate that an AI component is an ISO 4217 three-digit currency code.
GS1_LINTER_CUSTOM_ISO4217_LOOKUP
macro. valid
: Set to 1 if the lookup was successful. Otherwise 0.[in] | data | Pointer to the null-terminated data to be linted. Must not be NULL . |
[out] | err_pos | To facilitate error highlighting, the start position of the bad data is written to this pointer, if not NULL . |
[out] | err_len | The length of the bad data is written to this pointer, if not NULL . |