Lines Matching refs:context

97 hdb_next_enctype2key(krb5_context context,
113 krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP,
120 hdb_enctype2key(krb5_context context,
126 return hdb_next_enctype2key(context, e, enctype, key);
169 hdb_free_entry(krb5_context context, hdb_entry_ex *ent)
174 (*ent->free_entry)(context, ent);
185 hdb_foreach(krb5_context context,
193 ret = db->hdb_firstkey(context, db, flags, &entry);
195 krb5_clear_error_message(context);
197 ret = (*func)(context, db, &entry, data);
198 hdb_free_entry(context, &entry);
200 ret = db->hdb_nextkey(context, db, flags, &entry);
208 hdb_check_db_format(krb5_context context, HDB *db)
216 ret = db->hdb_lock(context, db, HDB_RLOCK);
222 ret = (*db->hdb__get)(context, db, tag, &version);
223 ret2 = db->hdb_unlock(context, db);
238 hdb_init_db(krb5_context context, HDB *db)
245 ret = hdb_check_db_format(context, db);
249 ret = db->hdb_lock(context, db, HDB_WLOCK);
258 ret = (*db->hdb__put)(context, db, 0, tag, version);
259 ret2 = db->hdb_unlock(context, db);
262 krb5_clear_error_message(context);
276 find_dynamic_method (krb5_context context,
298 krb5_errx(context, 1, "out of memory");
302 krb5_errx(context, 1, "out of memory");
313 krb5_warnx(context, "error trying to load dynamic module %s: %s\n",
321 krb5_errx(context, 1, "out of memory");
325 krb5_warnx(context, "error finding symbol %s in %s: %s\n",
337 krb5_warnx(context,
347 krb5_errx(context, 1,
393 hdb_list_builtin(krb5_context context, char **list)
408 krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
423 _hdb_keytab2hdb_entry(krb5_context context,
438 return krb5_copy_keyblock_contents(context,
452 hdb_create(krb5_context context, HDB **db, const char *filename)
461 krb5_add_et_list(context, initialize_hdb_error_table_r);
465 ret = _krb5_plugin_find(context, PLUGIN_TYPE_DATA, "hdb", &list);
484 h = find_dynamic_method (context, filename, &residual);
487 krb5_errx(context, 1, "No database support for %s", filename);
488 return (*h->create)(context, db, residual);