#include <rxv_spin.h>
Data Fields | |
| unsigned char | type |
| char * | cinfo |
| union { | |
| PGconn * pgconn | |
| MYSQL * myconn | |
| void * conn | |
| }; | |
| union { | |
| rxv_spin_cpool_t * cpool | |
| apr_pool_t * pool | |
| }; | |
| apr_status_t(* | cleanup )(void *data) |
| unsigned char rxv_spin_conn::type |
connection type: PostgreSQL, MySQL (also pooled or not) etc., use the macros to find out
| char* rxv_spin_conn::cinfo |
full connection identification string: type + connect string
| PGconn* rxv_spin_conn::pgconn |
PostgreSQL specific connection
| MYSQL* rxv_spin_conn::myconn |
MySQL specific connection
| void* rxv_spin_conn::conn |
generic or foreign connection
| union { ... } |
unnamed
the pool of connections for this connection
| apr_pool_t* rxv_spin_conn::pool |
memory pool we registered the cleanup with, if pooled connections aren't used
| union { ... } |
unnamed
| apr_status_t(* rxv_spin_conn::cleanup)(void *data) |
cleanup function
1.5.2