struct _GskDbhClass { object_class; (* connect) (GskDbh * dbh, GskDbiDataSource * data_source, const gchar * username, const gchar * password, GskDbhConnectCallback callback, gpointer callback_data); * (* escape_string) (GskDbh * dbh, gconstpointer src, guint len); (* query) (GskDbh * dbh, const gchar * query, GskDbhQueryCallback callback, gpointer callback_data); }; |
Methods:
(* connect) (GskDbh * dbh, GskDbiDataSource * data_source, const gchar * username, const gchar * password, GskDbhConnectCallback callback, gpointer callback_data); |
The handle to connect.
The datasource to connect to.
The username for authentication.
The password for authentication.
Callback to execute on completion.
Data passed unmodified to callback.
* (* escape_string) (GskDbh * dbh, gconstpointer src, guint len); |
The database handle to escape the string.
The data to escape (not necessarily null terminated).
The length (in bytes) of the data to escape.
(* query) (GskDbh * dbh, const gchar * query, GskDbhQueryCallback callback, gpointer callback_data); |
The database handle to execute the query.
The (null terminated) query string.
Callback to execute on completion.
Data passed unmodified to callback.
Members:
Parent class.