38 #define DBD_DECLARE(type) type
39 #define DBD_DECLARE_NONSTD(type) type
40 #define DBD_DECLARE_DATA
41 #elif defined(DBD_DECLARE_STATIC)
42 #define DBD_DECLARE(type) type __stdcall
43 #define DBD_DECLARE_NONSTD(type) type
44 #define DBD_DECLARE_DATA
45 #elif defined(DBD_DECLARE_EXPORT)
46 #define DBD_DECLARE(type) __declspec(dllexport) type __stdcall
47 #define DBD_DECLARE_NONSTD(type) __declspec(dllexport) type
48 #define DBD_DECLARE_DATA __declspec(dllexport)
50 #define DBD_DECLARE(type) __declspec(dllimport) type __stdcall
51 #define DBD_DECLARE_NONSTD(type) __declspec(dllimport) type
52 #define DBD_DECLARE_DATA __declspec(dllimport)
APR-UTIL registration of functions exported by modules.
struct apr_dbd_t apr_dbd_t
Definition: apr_dbd.h:83
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
Definition: apr_hooks.h:118
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
ap_dbd_t * ap_dbd_cacquire(conn_rec *)
#define DBD_DECLARE_NONSTD(type)
Definition: mod_dbd.h:39
ap_dbd_t * ap_dbd_acquire(request_rec *)
const char const char *ap_dbd_t * ap_dbd_open(apr_pool_t *, server_rec *)
void ap_dbd_prepare(server_rec *, const char *, const char *)
void ap_dbd_close(server_rec *, ap_dbd_t *)
int apr_status_t
Definition: apr_errno.h:44
struct apr_hash_t apr_hash_t
Definition: apr_hash.h:52
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_pool_t * pool
Definition: mod_dbd.h:80
const apr_dbd_driver_t * driver
Definition: mod_dbd.h:78
apr_hash_t * prepared
Definition: mod_dbd.h:79
apr_dbd_t * handle
Definition: mod_dbd.h:77
Definition: apr_dbd_internal.h:43
Structure to store things which are per connection.
Definition: httpd.h:1193
int nmax
Definition: mod_dbd.h:68
int persist
Definition: mod_dbd.h:64
const char * name
Definition: mod_dbd.h:62
int nkeep
Definition: mod_dbd.h:67
int nmin
Definition: mod_dbd.h:66
apr_hash_t * queries
Definition: mod_dbd.h:72
server_rec * server
Definition: mod_dbd.h:61
int set
Definition: mod_dbd.h:70
const char * params
Definition: mod_dbd.h:63
int exptime
Definition: mod_dbd.h:69
apr_array_header_t * init_queries
Definition: mod_dbd.h:73
A structure that represents the current request.
Definition: httpd.h:856
A structure to store information for each virtual server.
Definition: httpd.h:1382