GS1 Barcode Syntax Engine — C / C++ API
Library for processing GS1 Application Identifier syntax
Deprecated List
Global gs1_encoder_copyDLignoredQueryParams (gs1_encoder *ctx, void *buf, size_t max)
Use gs1_encoder_getDLignoredQueryParams() instead.
Global gs1_encoder_copyHRI (gs1_encoder *ctx, void *buf, size_t max)
Use gs1_encoder_getHRI() instead.
Global gs1_encoder_getDLignoredQueryParamsSize (gs1_encoder *ctx)
Use gs1_encoder_getDLignoredQueryParams() instead.
Global gs1_encoder_getHRIsize (gs1_encoder *ctx)
Use gs1_encoder_getHRI() instead.
Global gs1_encoder_getValidateAIassociations (gs1_encoder *ctx)
This is equivalent to gs1_encoder_getValidationEnabled(ctx, gs1_encoder_vREQUISITE_AIS), which should be called instead.
Global gs1_encoder_init (void *mem)
Use gs1_encoder_init_ex() instead. This legacy entry point attempts to load gs1-syntax-dictionary.txt from the current working directory and silently falls back to the embedded AI table if the file is missing or malformed. New code should call gs1_encoder_init_ex(), which makes Syntax Dictionary loading explicit (via gs1_encoder_init_opts::syntaxDictionary), reports the outcome via gs1_encoder_init_opts::status and gives detailed error/warning messages via gs1_encoder_init_opts::msgBuf.
Global gs1_encoder_setValidateAIassociations (gs1_encoder *ctx, bool validateAIassociations)
This is equivalent to gs1_encoder_setValidationEnabled(ctx, gs1_encoder_vREQUISITE_AIS, enabled), which should be called instead.
Global GS1_ENCODERS_DEPRECATED_ENUM

No-op, retained for source/ABI compatibility. Syntax Dictionary loading is now controlled by gs1_encoder_init_opts::syntaxDictionary : it is loaded only when a non-NULL path is provided.

No-op, retained for source/ABI compatibility. The library no longer writes initialisation messages to stdout; error information is returned via gs1_encoder_init_opts::status and gs1_encoder_init_opts::msgBuf.