glibc/conform/data/ndbm.h-data
Ulrich Drepper f095bb7204 Add support for XPG7 testing.
The header conformance testing code needed extending for XPG7.  This
exposed a few bugs in the headers.  There are more changes to come.
2010-01-09 10:56:41 -08:00

29 lines
584 B
Plaintext

#if !defined ISO && !defined POSIX && !defined POSIX2008
type datum
element datum {void*} dptr
element datum size_t dsize
type size_t
type DBM
type mode_t
constant DBM_INSERT
constant DBM_REPLACE
function int dbm_clearerr (DBM*)
function void dbm_close (DBM*)
function int dbm_delete (DBM*, datum)
function int dbm_error (DBM*)
function datum dbm_fetch (DBM*, datum)
function datum dbm_firstkey (DBM*)
function datum dbm_nextkey (DBM*)
function {DBM*} dbm_open (const char*, int, mode_t)
function int dbm_store (DBM*, datum, datum, int)
allow dbm_*
allow DBM_*
allow *_t
#endif