This appendix lists the constants provided in the CUPS header files.
The character encoding constants are used by the CUPS API localization functions. The character encoding is read from the message file and stored as a constant of type
cups_encoding_t in the
cups_lang_t structure. Table C.1 lists the available character encodings.
CUPS_VERSION constant defines the CUPS API version number as a floating point number:
CUPS version 1.1.8 is defined as 1.0108.
The HTTP constants are defined in the