Include adm.h, update prototypes
authorPaul Park <pjpark@mit.edu>
Thu, 3 Aug 1995 16:02:46 +0000 (16:02 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 3 Aug 1995 16:02:46 +0000 (16:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6387 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5server/kadm5_defs.h

index 3ac067de733ac8da423b418f51238fb982c64664..2f4a584e3f073505898a4e803f856470ad41fd62 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef        KADM5_DEFS_H__
 #define        KADM5_DEFS_H__
 
+#include "adm.h"
+
 /*
  * Debug definitions.
  */
 /* srv_key.c */
 krb5_error_code key_init
        KRB5_PROTOTYPE((krb5_context,
-                  int,
-                  int,
-                  int,
-                  char *,
-                  int,
-                  char *,
-                  char *,
-                  char *,
-                  char *));
+                       int,
+                       int,
+                       int,
+                       char *,
+                       int,
+                       char *,
+                       char *,
+                       char *,
+                       char *,
+                       krb5_int32,
+                       krb5_key_salt_tuple *));
 void key_finish
        KRB5_PROTOTYPE((krb5_context,
-                  int));
+                       int));
 krb5_error_code key_string_to_keys
        KRB5_PROTOTYPE((krb5_context,
-                  krb5_principal,
-                  krb5_data *,
-                  krb5_int32,
-                  krb5_int32,
-                  krb5_keyblock *,
-                  krb5_keyblock *,
-                  krb5_data *,
-                  krb5_data *));
+                       krb5_db_entry *,
+                       krb5_data *,
+                       krb5_int32 *,
+                       krb5_key_data **));
 krb5_error_code key_random_key
        KRB5_PROTOTYPE((krb5_context,
-                  krb5_keyblock *));
+                       krb5_db_entry *,
+                       krb5_int32 *,
+                       krb5_key_data **));
 krb5_error_code key_encrypt_keys
        KRB5_PROTOTYPE((krb5_context,
-                  krb5_principal,
-                  krb5_keyblock *,
-                  krb5_keyblock *,
-                  krb5_encrypted_keyblock *,
-                  krb5_encrypted_keyblock *));
+                       krb5_db_entry *,
+                       krb5_int32 *,
+                       krb5_key_data *,
+                       krb5_key_data **));
 krb5_error_code key_decrypt_keys
        KRB5_PROTOTYPE((krb5_context,
-                  krb5_principal,
-                  krb5_encrypted_keyblock *,
-                  krb5_encrypted_keyblock *,
-                  krb5_keyblock *,
-                  krb5_keyblock *));
+                       krb5_db_entry *,
+                       krb5_int32 *,
+                       krb5_key_data *,
+                       krb5_key_data **));
 krb5_boolean key_pwd_is_weak
        KRB5_PROTOTYPE((krb5_context,
-                  krb5_principal,
-                  krb5_data *,
-                  krb5_int32,
-                  krb5_int32));
+                       krb5_db_entry *,
+                       krb5_data *));
 krb5_db_entry *key_master_entry();
 char *key_master_realm();
 krb5_keytab key_keytab_id();
 krb5_keyblock *key_admin_key();
+void key_free_key_data KRB5_PROTOTYPE((krb5_key_data *,
+                                      krb5_int32));
+krb5_error_code key_name_to_data KRB5_PROTOTYPE((krb5_db_entry *,
+                                                krb5_key_salt_tuple *,
+                                                krb5_int32,
+                                                krb5_key_data **));
 
 /* srv_acl.c */
 krb5_error_code acl_init