37 #if defined(LIBC_SCCS) && !defined(lint) 38 static char sccsid[] =
"@(#)ndbm.c 8.4 (Berkeley) 7/21/94";
46 #include <sys/param.h> 94 (void)(db->close)(
db);
109 DBT dbtkey, dbtretdata;
113 status = (db->get)(db, &dbtkey, &dbtretdata, 0);
134 DBT dbtretkey, dbtretdata;
136 status = (db->seq)(db, &dbtretkey, &dbtretdata,
R_FIRST);
155 DBT dbtretkey, dbtretdata;
157 status = (db->seq)(db, &dbtretkey, &dbtretdata,
R_NEXT);
179 status = (db->del)(db, &dbtkey, 0);
204 return ((db->put)(db, &dbtkey, &dbtdata,
DB * __hash_open(char *file, int flags, int mode, const HASHINFO *info, int dflags) const
datum dbm_firstkey(DBM *db)
int dbm_store(DBM *db, datum key, datum data, int flags)
DBM * dbm_open(char *file, int flags, int mode) const
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
int dbm_clearerr(DBM *db)
datum dbm_fetch(DBM *db, datum key)
datum dbm_nextkey(DBM *db)
static struct hostent * hp
int dbm_delete(DBM *db, datum key)