Home
last modified time | relevance | path

Searched refs:hdb_db (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/crypto/heimdal/lib/hdb/
Ddb.c49 DB *d = (DB*)db->hdb_db; in DB_close()
68 DB *d = (DB*)db->hdb_db; in DB_lock()
81 DB *d = (DB*)db->hdb_db; in DB_unlock()
96 DB *d = (DB*)db->hdb_db; in DB_seq()
180 DB *d = (DB*)db->hdb_db; in DB__get()
210 DB *d = (DB*)db->hdb_db; in DB__put()
239 DB *d = (DB*)db->hdb_db; in DB__del()
271 db->hdb_db = dbopen(fn, flags, mode, DB_BTREE, NULL); in DB_open()
274 if(db->hdb_db == NULL && errno == ENOENT) in DB_open()
275 db->hdb_db = dbopen(db->hdb_name, flags, mode, DB_BTREE, NULL); in DB_open()
[all …]
Ddb3.c51 DB *d = (DB*)db->hdb_db; in DB_close()
74 DB *d = (DB*)db->hdb_db; in DB_lock()
84 DB *d = (DB*)db->hdb_db; in DB_unlock()
173 DB *d = (DB*)db->hdb_db; in DB__get()
199 DB *d = (DB*)db->hdb_db; in DB__put()
225 DB *d = (DB*)db->hdb_db; in DB__del()
271 db->hdb_db = d; in DB_open()
274 ret = (*d->open)(db->hdb_db, NULL, fn, NULL, DB_BTREE, myflags, mode); in DB_open()
276 ret = (*d->open)(db->hdb_db, fn, NULL, DB_BTREE, myflags, mode); in DB_open()
282 ret = (*d->open)(db->hdb_db, NULL, db->hdb_name, NULL, DB_BTREE, in DB_open()
[all …]
Dndbm.c67 struct ndbm_db *d = db->hdb_db; in NDBM_lock()
74 struct ndbm_db *d = db->hdb_db; in NDBM_unlock()
83 struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; in NDBM_seq()
141 struct ndbm_db *d = db->hdb_db; in NDBM_rename()
206 struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; in NDBM__get()
228 struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; in NDBM__put()
252 struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; in NDBM__del()
272 struct ndbm_db *d = db->hdb_db; in NDBM_close()
316 db->hdb_db = d; in NDBM_open()
343 (*db)->hdb_db = NULL; in hdb_ndbm_create()
Dhdb-ldap.c65 #define HDB2LDAP(db) (((struct hdbldapdb *)(db)->hdb_db)->h_lp)
66 #define HDB2MSGID(db) (((struct hdbldapdb *)(db)->hdb_db)->h_msgid)
68 do { ((struct hdbldapdb *)(db)->hdb_db)->h_msgid = msgid; } while(0)
69 #define HDB2BASE(dn) (((struct hdbldapdb *)(db)->hdb_db)->h_base)
70 #define HDB2URL(dn) (((struct hdbldapdb *)(db)->hdb_db)->h_url)
71 #define HDB2CREATE(db) (((struct hdbldapdb *)(db)->hdb_db)->h_createbase)
1308 ((struct hdbldapdb *)db->hdb_db)->h_lp = NULL; in LDAP_close()
1452 rc = ldap_initialize(&((struct hdbldapdb *)db->hdb_db)->h_lp, HDB2URL(db)); in LDAP__connect()
1677 free(db->hdb_db); in LDAP_destroy()
1729 (*db)->hdb_db = h; in hdb_ldap_common()
Dhdb.h70 void *hdb_db; member