rxv_spin_conn Struct Reference
[Connection functions]

Connection structure. More...

#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)


Detailed Description

Connection structure.


Field Documentation

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

rxv_spin_cpool_t* rxv_spin_conn::cpool

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


The documentation for this struct was generated from the following file:
Generated on Sat Mar 10 16:34:29 2007 for mod_spin by  doxygen 1.5.1