Header files

Table 1-4 lists header files that you need to include when compiling your Open Client and Open Server applications.

Table 1-4: Open Client and Open Server header files

DB-Library header files

Client-Library header files

Server-Library header files

sybdb.h – contains definitions and type definitions for use with DB-Library routines. Use sybdb.h only as documented in the Open Client DB-Library/C Reference Manual. The sybdb.h file includes all other required header files.

ssybfront.h – defines symbolic constants such as function return values, described in the Open Client DB-Library/C Reference Manual, and the exit values STDEXIT and ERREXIT. sybfront.h also includes type definitions for datatypes that can be used in program variable declaration.

ssyberror.h – contains error severity values and should be included if the program refers to those values.

ctpublic.hrequired by all Client-Library applications. This file includes all other required header files.

bkpublic.h – required if your application makes calls to Bulk-Library. This file includes all other required header files.

ospublic.hrequired by all Server-Library applications. This file includes all other required header files.

bkpublic.h – required if your application makes calls to Bulk-Library. This file includes all other required header files.