18#define APR_WANT_MEMFUNC
28#include "apu_config.h"
40#if defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR >= 4)
44#if DB_VERSION_MAJOR > 4 || (defined(DB_VERSION_MINOR) && (DB_VERSION_MINOR >= 1))
46#elif DB_VERSION_MAJOR == 4
49#elif defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 3)
51#elif defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 2)
71#define GET_BDB(f) (((real_file_t *)(f))->bdb)
73#define do_fetch(bdb, k, v) ((*(bdb)->get)(bdb, TXN_ARG &(k), &(v), 0))
77#define APR_DBM_DBMODE_RO O_RDONLY
78#define APR_DBM_DBMODE_RW O_RDWR
79#define APR_DBM_DBMODE_RWCREATE (O_CREAT | O_RDWR)
80#define APR_DBM_DBMODE_RWTRUNC (O_CREAT | O_RDWR | O_TRUNC)
82#define APR_DBM_DBMODE_RO DB_RDONLY
83#define APR_DBM_DBMODE_RW 0
84#define APR_DBM_DBMODE_RWCREATE DB_CREATE
85#define APR_DBM_DBMODE_RWTRUNC DB_TRUNCATE
119#if DB_VER == 1 || DB_VER == 2
176 (void) (*
file.bdb->close)(
file.bdb, 0);
323 (*
f->curs->c_close)(
f->curs);
360 (*
f->curs->c_close)(
f->curs);
APU_MODULE_DECLARE_DATA const apr_dbm_type_t apr_dbm_type_db
APR Standard Headers Support.
apr_dbd_transaction_t int mode
apr_datum_t apr_datum_t * pvalue
const char const char const char const char ** used2
const char const char const char ** used1
#define APR_DBM_READWRITE
const char const char * pathname
const char int apr_pool_t * pool
#define APR_OS_START_USEERR
apr_int32_t apr_fileperms_t
const char apr_file_t * file
const char apr_int32_t apr_fileperms_t perm
#define apr_pcalloc(p, size)
const apr_array_header_t * first