Name
CTWave Database Functions -- CTWave Database object management functions.
Description
These functions manage the CTWave Database objects, along with connection
and activation.
Details
struct CTWaveDatabase
struct CTWaveDatabase {
CTWaveConnectionHolder *holder;
}; |
Use the internals at your own risk.
ctwave_database_new ()
Initiates a new CTWave Database object. A new connection holder object is
also created.
ctwave_database_del ()
Deletes a CTWave Database object. The connection holder object is
also deleted.
ctwave_database_ready ()
WaveResult ctwave_database_ready (CTWaveDatabase *ctdb,
const gchar *ifile,
const gchar *login,
const gchar *password,
const gchar *server,
const gchar *database); |
Prepares a CTWave Database object for connection to Sybase. After a call
to this function call ctwave_connection_connect to initiate the connection.
ctwave_database_is_ready ()
Checks if the CTWave Database object is currently connected.
ctwave_database_activate ()
Acitvates the specified CTWave Database object.
ctwave_database_is_ready ()
Checks if the CTWave Database object is currently connected.