17 #define DIRFEXT ".dir" 18 #define PAGFEXT ".pag" 36 #define DBM_RDONLY 0x1 42 #define sdbm_rdonly(db) ((db)->flags & DBM_RDONLY) 43 #define sdbm_error(db) ((db)->flags & DBM_IOERR) 45 #define sdbm_clearerr(db) ((db)->flags &= ~DBM_IOERR) 47 #define sdbm_dirfno(db) ((db)->dirf) 48 #define sdbm_pagfno(db) ((db)->pagf) long sdbm_hash(register char *str, register int len)
void sdbm_close(register DBM *db)
DBM * sdbm_open(register char *file, register int flags, register int mode)
datum sdbm_firstkey(register DBM *db)
DBM * sdbm_prep(char *dirname, char *pagname, int flags, int mode)
int sdbm_store(register DBM *db, datum key, datum val, int flags)
datum sdbm_nextkey(register DBM *db)
int sdbm_delete(register DBM *db, datum key)
datum sdbm_fetch(register DBM *db, datum key)