Home
last modified time | relevance | path

Searched refs:__cur_db (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c73 static DBM *__cur_db; variable
81 if (__cur_db != NULL)
82 (void)kdb2_dbm_close(__cur_db);
83 if ((__cur_db = kdb2_dbm_open(file, O_RDWR|O_BINARY, 0)) != NULL)
85 if ((__cur_db = kdb2_dbm_open(file, O_RDONLY|O_BINARY, 0)) != NULL)
96 if (__cur_db == NULL) {
102 return (kdb2_dbm_fetch(__cur_db, key));
110 if (__cur_db == NULL) { in kdb2_firstkey()
116 return (kdb2_dbm_firstkey(__cur_db)); in kdb2_firstkey()
125 if (__cur_db == NULL) {
[all …]
/titanic_44/usr/src/cmd/sendmail/db/dbm/
H A Ddbm.c73 static DBM *__cur_db; variable
81 if (__cur_db != NULL)
82 (void)dbm_close(__cur_db);
83 if ((__cur_db =
86 if ((__cur_db = dbm_open(file, O_RDONLY, 0)) != NULL)
94 if (__cur_db != NULL) { in __db_dbm_close()
95 dbm_close(__cur_db); in __db_dbm_close()
96 __cur_db = NULL; in __db_dbm_close()
107 if (__cur_db == NULL) {
112 return (dbm_fetch(__cur_db, key));
[all …]