ESQL/C header files
Header files are provided to support some of the functions and data types of the library.
| Header file | Contents |
|---|---|
| datetime.h | Structure and macro definitions for DATETIME and INTERVAL data types |
| decimal.h | Structure and macro definitions for DECIMAL and MONEY data types |
| int8.h | Declarations for structure and library functions for the INT8 data type |
| sqlca.h | Structure definition that uses
to store error-status codes This structure enables you to check for the success or failure of SQL statements. |
| sqlda.h | Structure definition for value pointers and descriptions of dynamically defined variables |
| sqlhdr.h | Function prototypes of all library functions |
| sqlstype.h | Definitions of strings that correspond to SQL statements
uses these strings when your program contains a DESCRIBE statement. |
| sqltypes.h | Integer constants that correspond to language
and SQL data types ESQL/C uses these constants when your program contains a DESCRIBE statement. |
| sqlxtype.h | Integer constants that correspond to C language and SQL data types that uses in X/Open mode, when your program contains a DESCRIBE statement |
| varchar.h | Macros that you can use with the VARCHAR data type |
Important: The mitypes.h header
file automatically includes the datetime.h, decimal.h,
and int8.h header files. In turn, the milib.h header
file automatically includes mitypes.h, and mi.h automatically
includes milib.h. Therefore, you automatically
have access to the information in these header
files when you include mi.h in your module.