Introduction to the C API

The C API consists of the following structures:

  • Server
  • Service
  • Message
  • DataTable
  • DataRow
Note: The C API is a C wrapper around the C++ code. On Unix you can use a C++ compiler to build your C application, which is the preferred approach. However, a C compiler can also be used directly on Linux, and Solaris. On HP-UX and AIX, you need to link all the C++ required libs when you use the C compiler. To do this, run ldd ./batch under ..../samples/batch/bin/ to get the list of all dependent libs and put them in the link section of your makefile.