Lines Matching full:db

49 hkt_close(krb5_context context, HDB *db)  in hkt_close()  argument
51 hdb_keytab k = (hdb_keytab)db->hdb_db; in hkt_close()
63 hkt_destroy(krb5_context context, HDB *db) in hkt_destroy() argument
65 hdb_keytab k = (hdb_keytab)db->hdb_db; in hkt_destroy()
68 ret = hdb_clear_master_key (context, db); in hkt_destroy()
73 free(db->hdb_name); in hkt_destroy()
74 free(db); in hkt_destroy()
79 hkt_lock(krb5_context context, HDB *db, int operation) in hkt_lock() argument
85 hkt_unlock(krb5_context context, HDB *db) in hkt_unlock() argument
91 hkt_firstkey(krb5_context context, HDB *db, in hkt_firstkey() argument
98 hkt_nextkey(krb5_context context, HDB * db, unsigned flags, in hkt_nextkey() argument
105 hkt_open(krb5_context context, HDB * db, int flags, mode_t mode) in hkt_open() argument
107 hdb_keytab k = (hdb_keytab)db->hdb_db; in hkt_open()
120 hkt_fetch_kvno(krb5_context context, HDB * db, krb5_const_principal principal, in hkt_fetch_kvno() argument
123 hdb_keytab k = (hdb_keytab)db->hdb_db; in hkt_fetch_kvno()
174 hkt_store(krb5_context context, HDB * db, unsigned flags, in hkt_store() argument
182 hdb_keytab_create(krb5_context context, HDB ** db, const char *arg) in hdb_keytab_create() argument
186 *db = calloc(1, sizeof(**db)); in hdb_keytab_create()
187 if (*db == NULL) { in hdb_keytab_create()
191 memset(*db, 0, sizeof(**db)); in hdb_keytab_create()
195 free(*db); in hdb_keytab_create()
196 *db = NULL; in hdb_keytab_create()
204 free(*db); in hdb_keytab_create()
205 *db = NULL; in hdb_keytab_create()
211 (*db)->hdb_db = k; in hdb_keytab_create()
213 (*db)->hdb_master_key_set = 0; in hdb_keytab_create()
214 (*db)->hdb_openp = 0; in hdb_keytab_create()
215 (*db)->hdb_open = hkt_open; in hdb_keytab_create()
216 (*db)->hdb_close = hkt_close; in hdb_keytab_create()
217 (*db)->hdb_fetch_kvno = hkt_fetch_kvno; in hdb_keytab_create()
218 (*db)->hdb_store = hkt_store; in hdb_keytab_create()
219 (*db)->hdb_remove = NULL; in hdb_keytab_create()
220 (*db)->hdb_firstkey = hkt_firstkey; in hdb_keytab_create()
221 (*db)->hdb_nextkey = hkt_nextkey; in hdb_keytab_create()
222 (*db)->hdb_lock = hkt_lock; in hdb_keytab_create()
223 (*db)->hdb_unlock = hkt_unlock; in hdb_keytab_create()
224 (*db)->hdb_rename = NULL; in hdb_keytab_create()
225 (*db)->hdb__get = NULL; in hdb_keytab_create()
226 (*db)->hdb__put = NULL; in hdb_keytab_create()
227 (*db)->hdb__del = NULL; in hdb_keytab_create()
228 (*db)->hdb_destroy = hkt_destroy; in hdb_keytab_create()