Sybase utility library


I use Sybase as my primary database at work and home (available free for Linux here). However there is no C++ API available from Sybase, and the C API is somewhat clunky. There are also problems with threading, as Sybase returns errors using callbacks, which are not tied to a particular thread.

So, I wrote a C++ wrapper for CTLIB, which makes it trivial to connect to, and retrieve results from, Sybase databases. An example program can be seen here. The library consists essentially of two classes: SybInt - the Sybase interface, and DTable - which stores results of queries. For details of the public API see here.

This library is released under the LGPL.