The SQL preprocessor generates calls to functions in the interface library or DLL. In addition to the calls generated by the SQL preprocessor, a set of library functions is provided to make database operations easier to perform. Prototypes for these functions are included by the EXEC SQL INCLUDE SQLCA statement.
This section contains a reference description of these various functions.
The DLL entry points are the same except that the prototypes have a modifier appropriate for DLLs.
You can declare the entry points in a portable manner using _esqlentry_, which is defined in sqlca.h. It resolves to the value __stdcall.