Lines Matching refs:db
77 dbm_close(DBM *db) in dbm_close() argument
79 (void)(db->close)(db); in dbm_close()
88 dbm_fetch(DBM *db, datum key) in dbm_fetch() argument
96 status = (db->get)(db, &dbtkey, &dbtretdata, 0); in dbm_fetch()
112 dbm_firstkey(DBM *db) in dbm_firstkey() argument
118 status = (db->seq)(db, &dbtretkey, &dbtretdata, R_FIRST); in dbm_firstkey()
132 dbm_nextkey(DBM *db) in dbm_nextkey() argument
138 status = (db->seq)(db, &dbtretkey, &dbtretdata, R_NEXT); in dbm_nextkey()
152 dbm_delete(DBM *db, datum key) in dbm_delete() argument
159 status = (db->del)(db, &dbtkey, 0); in dbm_delete()
173 dbm_store(DBM *db, datum key, datum data, int flags) in dbm_store() argument
181 return ((db->put)(db, &dbtkey, &dbtdata, in dbm_store()
186 dbm_error(DBM *db) in dbm_error() argument
190 hp = (HTAB *)db->internal; in dbm_error()
195 dbm_clearerr(DBM *db) in dbm_clearerr() argument
199 hp = (HTAB *)db->internal; in dbm_clearerr()
205 dbm_dirfno(DBM *db) in dbm_dirfno() argument
207 return(((HTAB *)db->internal)->fp); in dbm_dirfno()