Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sdbm_private.h File Reference
#include "apr.h"
#include "apr_pools.h"
#include "apr_file_io.h"
#include "apr_errno.h"
Include dependency graph for sdbm_private.h:

Go to the source code of this file.

Data Structures

struct  apr_sdbm_t
 

Macros

#define DBLKSIZ   4096
 
#define PBLKSIZ   1024
 
#define PAIRMAX   1008 /* arbitrary on PBLKSIZ-N */
 
#define SPLTMAX   10 /* maximum allowed splits */
 
#define SDBM_RDONLY   0x1 /* data base open read-only */
 
#define SDBM_SHARED   0x2 /* data base open for sharing */
 
#define SDBM_SHARED_LOCK   0x4 /* data base locked for shared read */
 
#define SDBM_EXCLUSIVE_LOCK   0x8 /* data base locked for write */
 
#define sdbm_hash   apu__sdbm_hash
 
#define sdbm_nullitem   apu__sdbm_nullitem
 
#define SDBM_INVALIDATE_CACHE(db, finfo)
 

Functions

long sdbm_hash (const char *str, int len)
 

Variables

const apr_sdbm_datum_t sdbm_nullitem
 

Macro Definition Documentation

#define DBLKSIZ   4096
#define PAIRMAX   1008 /* arbitrary on PBLKSIZ-N */
#define PBLKSIZ   1024
#define SDBM_EXCLUSIVE_LOCK   0x8 /* data base locked for write */
#define sdbm_hash   apu__sdbm_hash
#define SDBM_INVALIDATE_CACHE (   db,
  finfo 
)
Value:
do { db->dirbno = (!finfo.size) ? 0 : -1; \
db->pagbno = -1; \
db->maxbno = (long)(finfo.size * BYTESIZ); \
} while (0);
#define BYTESIZ
Definition: sdbm_tune.h:29
#define sdbm_nullitem   apu__sdbm_nullitem
#define SDBM_RDONLY   0x1 /* data base open read-only */
#define SDBM_SHARED   0x2 /* data base open for sharing */
#define SDBM_SHARED_LOCK   0x4 /* data base locked for shared read */
#define SPLTMAX   10 /* maximum allowed splits */

Function Documentation

long sdbm_hash ( const char *  str,
int  len 
)

Variable Documentation

const apr_sdbm_datum_t sdbm_nullitem