Apache Portable Runtime
Data Fields
apr_dbm_type_t Struct Reference

#include <apr_dbm_private.h>

Data Fields

const char * name
apr_status_t(* open )(apr_dbm_t **pdb, const char *pathname, apr_int32_t mode, apr_fileperms_t perm, apr_pool_t *pool)
void(* close )(apr_dbm_t *dbm)
apr_status_t(* fetch )(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t *pvalue)
apr_status_t(* store )(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value)
apr_status_t(* del )(apr_dbm_t *dbm, apr_datum_t key)
int(* exists )(apr_dbm_t *dbm, apr_datum_t key)
apr_status_t(* firstkey )(apr_dbm_t *dbm, apr_datum_t *pkey)
apr_status_t(* nextkey )(apr_dbm_t *dbm, apr_datum_t *pkey)
void(* freedatum )(apr_dbm_t *dbm, apr_datum_t data)
void(* getusednames )(apr_pool_t *pool, const char *pathname, const char **used1, const char **used2)

Detailed Description

Structure to describe the operations of the DBM


Field Documentation

Close the DBM

Delete a dbm record value by key

Search for a key within the dbm

Fetch a dbm record value by key

Retrieve the first record key from a dbm

Proactively toss any memory associated with the apr_datum_t.

void(* apr_dbm_type_t::getusednames)(apr_pool_t *pool, const char *pathname, const char **used1, const char **used2)

Get the names that the DBM will use for a given pathname.

const char* apr_dbm_type_t::name

The name of the DBM Type

Retrieve the next record key from a dbm

apr_status_t(* apr_dbm_type_t::open)(apr_dbm_t **pdb, const char *pathname, apr_int32_t mode, apr_fileperms_t perm, apr_pool_t *pool)

Open the DBM

Store a dbm record value by key


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines