* adb_policy.c (osa_adb_rename_policy_db): rename
authorBarry Jaspan <bjaspan@mit.edu>
Tue, 8 Oct 1996 21:10:58 +0000 (21:10 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Tue, 8 Oct 1996 21:10:58 +0000 (21:10 +0000)
  osa_adb_rename_policy to *_db

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9152 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/adb_policy.c

index 3bd2f388f6adba89733e16078783547091808c9a..0132ec9f2dbd43f9e12c69e480174dea6e5aa783 100644 (file)
@@ -1,5 +1,8 @@
 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]
index 5ee70fafdf1a423f4aaf817fc43c618c1a0d4433..0971f447b4402c794d9fd8145ced4d256f785a97 100644 (file)
@@ -42,6 +42,16 @@ osa_adb_ret_t osa_adb_create_policy_db(kadm5_config_params *params)
                              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,
@@ -62,16 +72,6 @@ osa_adb_ret_t osa_adb_close_policy(osa_adb_princ_t db)
      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
  *