Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

db_ops Struct Reference

#include <dbpool_p.h>


Data Fields

void *(* open )(const DBConf *conf)
void(* close )(void *conn)
int(* check )(void *conn)
void(* conf_destroy )(DBConf *conf)
int(* select )(void *conn, const Octstr *sql, List *binds, List **result)
int(* update )(void *conn, const Octstr *sql, List *binds)


Field Documentation

int(* db_ops::check)(void *conn)
 

Referenced by dbpool_check(), and dbpool_conn_consume().

void(* db_ops::close)(void *conn)
 

Referenced by dbpool_conn_destroy(), and dbpool_decrease().

void(* db_ops::conf_destroy)(DBConf *conf)
 

Referenced by dbpool_destroy().

void*(* db_ops::open)(const DBConf *conf)
 

Referenced by dbpool_increase().

int(* db_ops::select)(void *conn, const Octstr *sql, List *binds, List **result)
 

Referenced by dbpool_conn_select().

int(* db_ops::update)(void *conn, const Octstr *sql, List *binds)
 

Referenced by dbpool_conn_update().


The documentation for this struct was generated from the following file: See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.