Header files

Header files are provided to help you write C application programs that use the MQI.

These header files are summarized in Table 1.

Table 1. C header files
File Contents
CMQC Function prototypes, data types, and named constants for the main MQI
CMQXC Function prototypes, data types, and named constants for the data conversion exit
CMQEC Function prototypes, data types, and named constants for the main MQI, data conversion exit and Interface Entry Points structure (CMQEC includes CMQXC and CMQC.)
CMQSTRC Functions that convert MQI constant definitions to the text equivalent.Attention: Not applicable to z/OSĀ®.
To improve the portability of applications, code the name of the header file in lowercase on the #include preprocessor directive:
#include "cmqec.h"