My Project
|
Go to the source code of this file.
Data Structures | |
struct | DBM |
struct | datum |
Macros | |
#define | PBLKSIZ 1024 |
#define | DBLKSIZ 4096 |
#define | _DBM_RDONLY 0x01 /* data base open read-only */ |
#define | _DBM_IOERR 0x02 /* data base I/O error */ |
#define | dbm_rdonly(db) ((db)->dbm_flags & _DBM_RDONLY) |
#define | dbm_error(db) ((db)->dbm_flags & _DBM_IOERR) |
#define | dbm_clearerr(db) ((db)->dbm_flags &= ~_DBM_IOERR) |
#define | dbm_dirfno(db) ((db)->dbm_dirf) |
#define | dbm_pagfno(db) ((db)->dbm_pagf) |
#define | DBM_INSERT 0 |
#define | DBM_REPLACE 1 |
Functions | |
DBM * | dbm_open (char *file, int flags, int mode) |
void | dbm_close (DBM *db) |
datum | dbm_fetch (DBM *db, datum key) |
datum | dbm_firstkey (DBM *db) |
datum | dbm_nextkey (DBM *db) |
long | dbm_forder (DBM *db, datum key) |
int | dbm_delete (DBM *db, datum key) |
int | dbm_store (DBM *db, datum key, datum dat, int replace) |
struct DBM |
#define dbm_clearerr | ( | db | ) | ((db)->dbm_flags &= ~_DBM_IOERR) |
#define dbm_error | ( | db | ) | ((db)->dbm_flags & _DBM_IOERR) |
#define dbm_rdonly | ( | db | ) | ((db)->dbm_flags & _DBM_RDONLY) |
void dbm_close | ( | DBM * | db | ) |
Definition at line 260 of file ndbm.cc.
DBM * dbm_open | ( | char * | file, |
int | flags, | ||
int | mode | ||
) |
Definition at line 59 of file ndbm.cc.
Definition at line 167 of file ndbm.cc.