7 /* Default plugin (DB using binary search of sorted text file) follows */
8 static heim_base_once_t db_plugins_once = HEIM_BASE_ONCE_INIT;
10 static krb5_error_code KRB5_LIB_CALL
11 db_plugins_plcallback(krb5_context context, const void *plug, void *plugctx,
17 static const char *db_plugin_deps[] = { "krb5", NULL };
19 static struct heim_plugin_data
23 KRB5_PLUGIN_DB_VERSION_0,
29 db_plugins_init(void *arg)
31 krb5_context context = arg;
32 (void)_krb5_plugin_run_f(context, &db_plugin_data, 0, NULL,
33 db_plugins_plcallback);
36 KRB5_LIB_FUNCTION void KRB5_LIB_CALL
37 _krb5_load_db_plugins(krb5_context context)
39 heim_base_once_f(&db_plugins_once, context, db_plugins_init);