function typedef GskDbhQueryCallback

void (*GskDbhQueryCallback)
                (GskDbh        *                dbh,
                 GskDbiResult  *                result,
                 gpointer                       callback_data)
Signature for gsk_dbh_query () callbacks.

Parameters:

dbh

The database handle for which the query was performed. The handle is automatically referenced for the duration of the callback.

result

The query result. NULL indicates a query error. The result is automatically referenced for the duration of the callback, thus, to destroy the result after the callback returns do nothing (to preserve it, hold a reference to it).

callback_data

Additional data passed through unmodified.