#include <stdio.h>
Go to the source code of this file.
|
DBM *sdbm_open | proto ((char *, int, int)) |
|
void sdbm_close | proto ((DBM *)) |
|
datum sdbm_fetch | proto ((DBM *, datum)) |
|
int sdbm_store | proto ((DBM *, datum, datum, int)) |
|
DBM *sdbm_prep | proto ((char *, char *, int, int)) |
|
long sdbm_hash | proto ((char *, int)) |
|
◆ DBLKSIZ
◆ DBM_INSERT
◆ DBM_IOERR
#define DBM_IOERR 0x2 /* data base I/O error */ |
◆ DBM_RDONLY
#define DBM_RDONLY 0x1 /* data base open read-only */ |
◆ DBM_REPLACE
◆ DIRFEXT
◆ PAGFEXT
◆ PAIRMAX
#define PAIRMAX 1008 /* arbitrary on PBLKSIZ-N */ |
◆ PBLKSIZ
◆ proto
◆ sdbm_clearerr
#define sdbm_clearerr |
( |
|
db | ) |
((db)->flags &= ~DBM_IOERR) /* ouch */ |
◆ sdbm_dirfno
#define sdbm_dirfno |
( |
|
db | ) |
((db)->dirf) |
◆ sdbm_error
#define sdbm_error |
( |
|
db | ) |
((db)->flags & DBM_IOERR) |
◆ sdbm_pagfno
#define sdbm_pagfno |
( |
|
db | ) |
((db)->pagf) |
◆ sdbm_rdonly
#define sdbm_rdonly |
( |
|
db | ) |
((db)->flags & DBM_RDONLY) |
◆ SPLTMAX
#define SPLTMAX 10 /* maximum allowed splits */ |
◆ proto() [1/6]
◆ proto() [2/6]
◆ proto() [3/6]
◆ proto() [4/6]
◆ proto() [5/6]
◆ proto() [6/6]
◆ nullitem