22 #include "apr_errno.h"
23 #include "apr_pools.h"
24 #include "apr_file_info.h"
56 #define APR_DBM_READONLY 1
57 #define APR_DBM_READWRITE 2
58 #define APR_DBM_RWCREATE 3
59 #define APR_DBM_RWTRUNC 4
89 APU_DECLARE(apr_status_t) apr_dbm_open_ex(apr_dbm_t **dbm, const char* type,
91 apr_int32_t mode, apr_fileperms_t perm,
112 apr_int32_t mode, apr_fileperms_t perm,
184 char *errbuf, apr_size_t errbufsize);
201 const
char *pathname,
218 const
char *pathname,
const apr_dbm_type_t * type
Definition: apr_dbm_private.h:107
apr_status_t apr_dbm_fetch(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t *pvalue)
void apr_dbm_close(apr_dbm_t *dbm)
apr_status_t apr_dbm_open(apr_dbm_t **dbm, const char *name, apr_int32_t mode, apr_fileperms_t perm, apr_pool_t *cntxt)
char * apr_dbm_geterror(apr_dbm_t *dbm, int *errcode, char *errbuf, apr_size_t errbufsize)
int apr_dbm_exists(apr_dbm_t *dbm, apr_datum_t key)
Definition: apr_dbm_private.h:93
void apr_dbm_get_usednames(apr_pool_t *pool, const char *pathname, const char **used1, const char **used2)
apr_pool_t * pool
Definition: apr_dbm_private.h:96
int errcode
Definition: apr_dbm_private.h:102
apr_size_t dsize
Definition: apr_dbm.h:52
void apr_dbm_freedatum(apr_dbm_t *dbm, apr_datum_t data)
char * dptr
Definition: apr_dbm.h:50
apr_status_t apr_dbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey)
apr_status_t apr_dbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey)
apr_status_t apr_dbm_store(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value)
apr_status_t apr_dbm_delete(apr_dbm_t *dbm, apr_datum_t key)
apr_status_t apr_dbm_get_usednames_ex(apr_pool_t *pool, const char *type, const char *pathname, const char **used1, const char **used2)