/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:ndbm.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_NDBM_H
#define __TDF_UNIX95_NDBM_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__ndbm begin

#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#ifndef __TDF_POSIX_SYS_TYPES_H_MODE_T
#pragma extend interface "../shared/posix.api/mode_t.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_MODE_T */
#pragma token STRUCT datum # unix95.ndbm.datum
#pragma token MEMBER void * : datum : dptr # unix95.ndbm.datum.dptr
#pragma token MEMBER size_t : datum : dsize # unix95.ndbm.datum.dsize
#pragma token STRUCT DBM # unix95.ndbm.DBM
#pragma token EXP const : int : DBM_INSERT # unix95.ndbm.DBM_INSERT
#pragma token EXP const : int : DBM_REPLACE # unix95.ndbm.DBM_REPLACE
#pragma token FUNC DBM * (const char *, int, mode_t) : dbm_open # unix95.ndbm.dbm_open
#pragma token FUNC void (DBM *) : dbm_close # unix95.ndbm.dbm_close
#pragma token FUNC datum (DBM *, datum) : dbm_fetch # unix95.ndbm.dbm_fetch
#pragma token FUNC int (DBM *, datum, datum, int) : dbm_store # unix95.ndbm.dbm_store
#pragma token FUNC int (DBM *, datum) : dbm_delete # unix95.ndbm.dbm_delete
#pragma token FUNC datum (DBM *) : dbm_firstkey # unix95.ndbm.dbm_firstkey
#pragma token FUNC datum (DBM *) : dbm_nextkey # unix95.ndbm.dbm_nextkey
#pragma token FUNC int (DBM *) : dbm_error # unix95.ndbm.dbm_error
#pragma token FUNC int (DBM *) : dbm_clearerr # unix95.ndbm.dbm_clearerr

#pragma interface datum datum.dptr datum.dsize DBM DBM_INSERT DBM_REPLACE
#pragma interface dbm_open dbm_close dbm_fetch dbm_store dbm_delete
#pragma interface dbm_firstkey dbm_nextkey dbm_error dbm_clearerr

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_NDBM_H */
