Declare function prototypes

provides the sqlproto.h header file to declare function prototypes for all library functions. These function prototypes are required in the source file that you compile with an ANSI C compiler. By default, the esql command processor does not include function-prototype declarations. Having the processor include the ANSI-compliant function prototypes for the functions prevents an ANSI C compiler from generating warnings.
Restriction: Although you can use an ANSI C compiler, the preprocessor does not fully support ANSI C, so you might not be able to preprocess all programs that follow the ANSI C standards.
Because the sqlproto.h file does not contain any statements, you can include this file in either of the following ways:
  • With the include preprocessor directive:
    EXEC SQL include sqlproto;
  • With the C #include preprocessor directive:
    #include "sqlproto.h";