#include "apr_reslist.h"
#include "apr_strings.h"
#include "apr_hash.h"
#include "apr_tables.h"
#include "apr_lib.h"
#include "apr_dbd.h"
#include "apr_want.h"
#include "http_protocol.h"
#include "http_config.h"
#include "http_log.h"
#include "http_request.h"
#include "mod_dbd.h"
Go to the source code of this file.
|
| apr_status_t | dbd_run_post_connect (apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *dbd) |
| |
| static void * | create_dbd_config (apr_pool_t *pool, server_rec *s) |
| |
| static void * | merge_dbd_config (apr_pool_t *pool, void *basev, void *addv) |
| |
| static void | ap_dbd_sql_init (server_rec *s, const char *query) |
| |
| static const char * | dbd_param (cmd_parms *cmd, void *dconf, const char *val) |
| |
| static const char * | dbd_param_flag (cmd_parms *cmd, void *dconf, int flag) |
| |
| static const char * | dbd_prepare (cmd_parms *cmd, void *dconf, const char *query, const char *label) |
| |
| static const char * | dbd_init_sql (cmd_parms *cmd, void *dconf, const char *query) |
| |
| static int | dbd_pre_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) |
| |
| void | ap_dbd_prepare (server_rec *s, const char *query, const char *label) |
| |
| static int | dbd_post_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) |
| |
| static apr_status_t | dbd_prepared_init (apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) |
| |
| static apr_status_t | dbd_init_sql_init (apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) |
| |
| static apr_status_t | dbd_close (void *data) |
| |
| static apr_status_t | dbd_construct (void **data_ptr, void *params, apr_pool_t *pool) |
| |
| static apr_status_t | dbd_setup_init (apr_pool_t *pool, server_rec *s) |
| |
| static void | dbd_child_init (apr_pool_t *p, server_rec *s) |
| |
| void | ap_dbd_close (server_rec *s, ap_dbd_t *rec) |
| |
| static apr_status_t | dbd_check (apr_pool_t *pool, server_rec *s, ap_dbd_t *rec) |
| |
| ap_dbd_t * | ap_dbd_open (apr_pool_t *pool, server_rec *s) |
| |
| ap_dbd_t * | ap_dbd_acquire (request_rec *r) |
| |
| ap_dbd_t * | ap_dbd_cacquire (conn_rec *c) |
| |
| static void | dbd_hooks (apr_pool_t *pool) |
| |
◆ APR_WANT_MEMFUNC
◆ APR_WANT_STRFUNC
◆ DEFAULT_EXPTIME
◆ DEFAULT_NKEEP
◆ DEFAULT_NMAX
◆ DEFAULT_NMIN
◆ DEFAULT_SQL_INIT_ARRAY_SIZE
| #define DEFAULT_SQL_INIT_ARRAY_SIZE 5 |
◆ EXPTIME_SET
◆ NKEEP_SET
◆ NMAX_SET
◆ NMIN_SET
◆ dbd_group_t
◆ cmd_parts
| Enumerator |
|---|
| cmd_name | |
| cmd_params | |
| cmd_persist | |
| cmd_min | |
| cmd_keep | |
| cmd_max | |
| cmd_exp | |
Definition at line 74 of file mod_dbd.c.
◆ ap_dbd_sql_init()
◆ create_dbd_config()
◆ dbd_check()
◆ dbd_child_init()
◆ dbd_close()
◆ dbd_construct()
◆ dbd_hooks()
◆ dbd_init_sql()
◆ dbd_init_sql_init()
◆ dbd_param()
◆ dbd_param_flag()
◆ dbd_post_config()
< Module has handled this stage.
Definition at line 341 of file mod_dbd.c.
◆ dbd_pre_config()
< Module has handled this stage.
Definition at line 305 of file mod_dbd.c.
◆ dbd_prepare()
◆ dbd_prepared_init()
◆ dbd_setup_init()
◆ merge_dbd_config()
◆ aplog_module_index
| int* const aplog_module_index = &( dbd_module.module_index) |
|
static |
◆ config_pool
◆ dbd_cmds
Initial value:= {
{
"DBDPrepareSQL" ,
dbd_prepare ,
NULL , 128 ,
TAKE12,
"SQL statement to prepare (or nothing, to override " "statement inherited from main server) and label" },
{
"DBDInitSQL" ,
dbd_init_sql ,
NULL , 128 ,
TAKE1,
"SQL statement to be executed after connection is created" },
}
static void(* dbd_prepare)(server_rec *, const char *, const char *)
static const char * dbd_param_flag(cmd_parms *cmd, void *dconf, int flag)
static const char * dbd_init_sql(cmd_parms *cmd, void *dconf, const char *query)
static const char * dbd_param(cmd_parms *cmd, void *dconf, const char *val)
Definition at line 278 of file mod_dbd.c.
◆ group_list
◆ no_dbdriver