Tue Oct 8 13:33:48 1996 Barry Jaspan <bjaspan@mit.edu>
+ * adb_policy.c (osa_adb_rename_policy_db): rename
+ osa_adb_rename_policy to *_db
+
* adb_openclose.c, adb_policy.c: implement database renaming;
also, only create a db lockfile after the database has been
successfully created [krb5-admin/62]
OSA_ADB_POLICY_DB_MAGIC);
}
+osa_adb_ret_t osa_adb_rename_policy_db(kadm5_config_params *fromparams,
+ kadm5_config_params *toparams)
+{
+ return osa_adb_rename_db(fromparams->admin_dbname,
+ fromparams->admin_lockfile,
+ toparams->admin_dbname,
+ toparams->admin_lockfile,
+ OSA_ADB_POLICY_DB_MAGIC);
+}
+
osa_adb_ret_t osa_adb_destroy_policy_db(kadm5_config_params *params)
{
return osa_adb_destroy_db(params->admin_dbname,
return osa_adb_fini_db(db, OSA_ADB_POLICY_DB_MAGIC);
}
-osa_adb_ret_t osa_adb_rename_policy(kadm5_config_params *fromparams,
- kadm5_config_params *toparams)
-{
- return osa_adb_rename_db(fromparams->admin_dbname,
- fromparams->admin_lockfile,
- toparams->admin_dbname,
- toparams->admin_lockfile,
- OSA_ADB_POLICY_DB_MAGIC);
-}
-
/*
* Function: osa_adb_create_policy
*