Home
last modified time | relevance | path

Searched refs:db_context (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/krb5/src/plugins/kdb/db2/
H A Dkdb_db2.c122 #define inited(c) ((c)->dal_handle->db_context && \
123 ((krb5_db2_context *)(c)->dal_handle->db_context)-> \
185 if (dal_handle->db_context == NULL) { in ctx_get()
192 dal_handle->db_context = dbc; in ctx_get()
195 *dbc_out = dal_handle->db_context; in ctx_get()
536 if (context->dal_handle->db_context != NULL) { in krb5_db2_fini()
537 ctx_fini(context->dal_handle->db_context); in krb5_db2_fini()
538 context->dal_handle->db_context = NULL; in krb5_db2_fini()
551 dbc = context->dal_handle->db_context; in check_openable()
573 dbc = context->dal_handle->db_context; in krb5_db2_get_age()
[all …]
H A Dlockout.c124 krb5_db2_context *db_ctx = context->dal_handle->db_context; in krb5_db2_lockout_check_policy()
151 krb5_db2_context *db_ctx = context->dal_handle->db_context; in krb5_db2_lockout_audit()
/freebsd/crypto/krb5/src/plugins/kdb/lmdb/
H A Dkdb_lmdb.c127 klmdb_context *dbc = context->dal_handle->db_context; in klerr()
154 context->dal_handle->db_context = dbc; in configure_context()
306 klmdb_context *dbc = context->dal_handle->db_context; in fetch()
331 klmdb_context *dbc = context->dal_handle->db_context; in fetch_lockout()
357 klmdb_context *dbc = context->dal_handle->db_context; in put()
488 dbc = context->dal_handle->db_context; in klmdb_fini()
498 context->dal_handle->db_context = NULL; in klmdb_fini()
512 if (context->dal_handle->db_context != NULL) in klmdb_open()
518 dbc = context->dal_handle->db_context; in klmdb_open()
583 if (context->dal_handle->db_context != NULL) in klmdb_create()
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.h75 || context->dal_handle->db_context == NULL) { \
79 ldap_context = (krb5_ldap_context *) dal_handle->db_context; \
223 #define k5ldap_inited(c) (c && c->db_context \
224 && ((kdb5_dal_handle*)c->db_context)->db_context \
225 && ((krb5_ldap_context *) ((kdb5_dal_handle*)c->db_context)->db_context))
H A Dkdb_ldap_conn.c355 context->dal_handle->db_context == NULL) in krb5_ldap_close()
359 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in krb5_ldap_close()
360 dal_handle->db_context = NULL; in krb5_ldap_close()
H A Dldap_create.c66 context->dal_handle->db_context = ldap_context; in krb5_ldap_create()
H A Dkdb_ldap.c206 context->dal_handle->db_context = ldap_context; in krb5_ldap_open()
H A Dldap_misc.c174 krb5_ldap_context *ctx = context->dal_handle->db_context; in add_server_entry()
205 krb5_ldap_context *ctx = context->dal_handle->db_context; in krb5_ldap_parse_db_params()
318 krb5_ldap_context *ldap_context = dal_handle->db_context; in krb5_ldap_read_server_params()
H A Dldap_principal2.c232 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in krb5_ldap_get_principal()
711 krb5_ldap_context *ldap_context = context->dal_handle->db_context; in check_dn_exists()
/freebsd/crypto/krb5/src/lib/kdb/
H A Dkdb5.h15 #define KRB5_DB_GET_DB_CONTEXT(kcontext) (((kdb5_dal_handle*) (kcontext)->dal_handle)->db_context)
31 void *db_context; member
H A Dkdb5.c694 kcontext->dal_handle->db_context); in krb5_db_inited()
2623 krb5_db_get_context(krb5_context context, void **db_context) in krb5_db_get_context() argument
2625 *db_context = KRB5_DB_GET_DB_CONTEXT(context); in krb5_db_get_context()
2626 if (*db_context == NULL) in krb5_db_get_context()
2632 krb5_db_set_context(krb5_context context, void *db_context) in krb5_db_set_context() argument
2634 KRB5_DB_GET_DB_CONTEXT(context) = db_context; in krb5_db_set_context()
/freebsd/crypto/krb5/src/plugins/kdb/test/
H A Dkdb_test.c334 context->dal_handle->db_context = h; in test_open()
341 testhandle h = context->dal_handle->db_context; in test_close()
391 testhandle h = context->dal_handle->db_context; in test_get_principal()
524 testhandle h = context->dal_handle->db_context; in test_get_s4u_x509_principal()
707 testhandle h = context->dal_handle->db_context; in match_in_table()
/freebsd/crypto/krb5/src/plugins/kdb/ldap/ldap_util/
H A Dkdb5_ldap_realm.c501 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb5_ldap_create()
684 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb5_ldap_modify()
838 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb5_ldap_view()
1040 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb5_ldap_list()
1255 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb_ldap_create_principal()
1447 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in kdb5_ldap_destroy()
H A Dkdb5_ldap_util.c555 util_context->dal_handle->db_context = ldap_context; in main()
566 …etval = krb5_ldap_db_init(util_context, (krb5_ldap_context *)util_context->dal_handle->db_context); in main()
H A Dkdb5_ldap_policy.c58 ldap_context = (krb5_ldap_context *) dal_handle->db_context; in init_ldap_realm()
/freebsd/crypto/krb5/src/include/
H A Dkdb.h829 krb5_db_set_context(krb5_context, void *db_context);
832 krb5_db_get_context(krb5_context, void **db_context);