From: Ken Raeburn Date: Wed, 30 Jul 2008 10:32:59 +0000 (+0000) Subject: Delete decls for nonexistent functions, and an unused typedef X-Git-Tag: krb5-1.7-alpha1~555 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df1c67bfc9f372eb5234a97ee1114a63e5f08dc6;p=krb5.git Delete decls for nonexistent functions, and an unused typedef git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20589 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/adb.h b/src/lib/kadm5/adb.h index 66eadfc3b..dce62abb4 100644 --- a/src/lib/kadm5/adb.h +++ b/src/lib/kadm5/adb.h @@ -77,7 +77,6 @@ typedef struct _osa_policy_ent_t { uint32_t policy_refcnt; } osa_policy_ent_rec, *osa_policy_ent_t; -typedef void (*osa_adb_iter_princ_func) (void *, osa_princ_ent_t); typedef void (*osa_adb_iter_policy_func) (void *, osa_policy_ent_t); @@ -115,35 +114,21 @@ osa_adb_ret_t osa_adb_close_and_unlock(osa_adb_princ_t db); osa_adb_ret_t osa_adb_create_policy_db(kadm5_config_params *params); osa_adb_ret_t osa_adb_destroy_policy_db(kadm5_config_params *params); -osa_adb_ret_t osa_adb_open_princ(osa_adb_princ_t *db, char *filename); osa_adb_ret_t osa_adb_open_policy(osa_adb_policy_t *db, kadm5_config_params *rparams); -osa_adb_ret_t osa_adb_close_princ(osa_adb_princ_t db); osa_adb_ret_t osa_adb_close_policy(osa_adb_policy_t db); -osa_adb_ret_t osa_adb_create_princ(osa_adb_princ_t db, - osa_princ_ent_t entry); osa_adb_ret_t osa_adb_create_policy(osa_adb_policy_t db, osa_policy_ent_t entry); -osa_adb_ret_t osa_adb_destroy_princ(osa_adb_princ_t db, - kadm5_princ_t name); osa_adb_ret_t osa_adb_destroy_policy(osa_adb_policy_t db, kadm5_policy_t name); -osa_adb_ret_t osa_adb_get_princ(osa_adb_princ_t db, - kadm5_princ_t name, - osa_princ_ent_t *entry); osa_adb_ret_t osa_adb_get_policy(osa_adb_policy_t db, kadm5_policy_t name, osa_policy_ent_t *entry); -osa_adb_ret_t osa_adb_put_princ(osa_adb_princ_t db, - osa_princ_ent_t entry); osa_adb_ret_t osa_adb_put_policy(osa_adb_policy_t db, osa_policy_ent_t entry); osa_adb_ret_t osa_adb_iter_policy(osa_adb_policy_t db, osa_adb_iter_policy_func func, void * data); -osa_adb_ret_t osa_adb_iter_princ(osa_adb_princ_t db, - osa_adb_iter_princ_func func, - void *data); void osa_free_policy_ent(osa_policy_ent_t val); void osa_free_princ_ent(osa_princ_ent_t val); #endif /* __ADB_H__ */