23 #ifndef SDBM_PRIVATE_H
24 #define SDBM_PRIVATE_H
44 #define SDBM_RDONLY 0x1
45 #define SDBM_SHARED 0x2
46 #define SDBM_SHARED_LOCK 0x4
47 #define SDBM_EXCLUSIVE_LOCK 0x8
68 #define sdbm_hash apu__sdbm_hash
69 #define sdbm_nullitem apu__sdbm_nullitem
78 #define SDBM_INVALIDATE_CACHE(db, finfo) \
79 do { db->dirbno = (!finfo.size) ? 0 : -1; \
81 db->maxbno = (long)(finfo.size * BYTESIZ); \
APR Platform Definitions.
dav_buffer const char * str
Definition: mod_dav.h:465
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define sdbm_hash
Definition: sdbm_private.h:68
#define sdbm_nullitem
Definition: sdbm_private.h:69
#define PBLKSIZ
Definition: sdbm_private.h:38
#define DBLKSIZ
Definition: sdbm_private.h:37
Definition: apr_arch_file_io.h:107
Definition: apr_sdbm.h:49
Definition: sdbm_private.h:49
char pagbuf[PBLKSIZ]
Definition: sdbm_private.h:61
apr_pool_t * pool
Definition: sdbm_private.h:50
long pagbno
Definition: sdbm_private.h:60
apr_file_t * pagf
Definition: sdbm_private.h:52
long maxbno
Definition: sdbm_private.h:54
long blkno
Definition: sdbm_private.h:59
int lckcnt
Definition: sdbm_private.h:64
apr_file_t * dirf
Definition: sdbm_private.h:51
char dirbuf[DBLKSIZ]
Definition: sdbm_private.h:63
long dirbno
Definition: sdbm_private.h:62
long blkptr
Definition: sdbm_private.h:57
apr_int32_t flags
Definition: sdbm_private.h:53
long hmask
Definition: sdbm_private.h:56
long curbit
Definition: sdbm_private.h:55
int keyptr
Definition: sdbm_private.h:58