The functions described here are provided by the libintlize library, version 0 of the interface.
Actually, this is a pointer to a struct containing all information about the message catalog. This type should never be addressed directly, but only through the libintlize interface described here.
Use this function to obtain a libintlize catalog.
A valid catalog on successfull completion, NULL otherwise.
This function frees all memory associated with catalog.
The catalog obtained with i5e_create_catalog.
The file containing the requested translation is opened and copied into the catalog. If charset is not NULL, the messages will be converted to charset when accessed.
0 on successful completion, error code otherwise.
The catalog obtained with i5e_create_catalog.
The language code of the translation.
The colon separated search path to the message catalogs. A placeholder "%L" is replaced with lang, then the first 5 characters of lang, then the first 2 characters of lang.
The target charset of the catalog, or NULL if no conversion should be performed. If libintlize was built without iconv support, charset must be NULL.
All memory associated with catalog is freed, but not catalog itself. To free the catalog call i5e_free_catalog.
The catalog obtained with i5e_create_catalog.
Use this function to retrieve a descriptive message for errnum.
A descriptive message for errnum.
The error code returned by i5e_open
This is an access function for the ID of the catalog.
The ID of the catalog.
The catalog obtained with i5e_create_catalog.
This function retrieves the translated messages for msgnum.
The translated message.
The catalog obtained with i5e_create_catalog.
The message number of the message as assigned by intlize.
No error occurred.
Allocating a chunk of memory failed.
The arguments given to i5e_open failed a logical check
due to one or more of the following:
Catalog is NULL.
Lang or path is NULL or an empty string.
The file requested by lang and path does not exist or is not accessible.
The file is not accessible.
The file exists and is accessible, but it is not an intlize file.
The file ended prematurely.
The encoding of the catalog is not known to intlize.
Libiconv cannot convert to the charset requested by charset.
A conversion to charset is requested, but libintlize was built without libiconv support.