Add prototype definitions for new libkadm functions
authorPaul Park <pjpark@mit.edu>
Fri, 4 Aug 1995 20:30:56 +0000 (20:30 +0000)
committerPaul Park <pjpark@mit.edu>
Fri, 4 Aug 1995 20:30:56 +0000 (20:30 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6411 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/adm_proto.h

index 59caeb1b12442b5c5f568dd2c5a3157102f9b005..b925d2bbf4f7a5d6f60a6245df9898541d0c4beb 100644 (file)
@@ -36,6 +36,9 @@ typedef struct _krb5_db_entry krb5_db_entry;
 #ifndef        KRB5_ADM_H__
 struct ___krb5_realm_params;
 typedef struct ___krb5_realm_params krb5_realm_params;
+
+struct ___krb5_key_salt_tuple;
+typedef struct ___krb5_key_salt_tuple krb5_key_salt_tuple;
 #endif /* KRB5_ADM_H__ */
 
 /*
@@ -197,4 +200,28 @@ krb5_error_code
 krb5_timestamp_to_string KRB5_PROTOTYPE((krb5_timestamp, char *, size_t));
 krb5_error_code
 krb5_deltat_to_string KRB5_PROTOTYPE((krb5_deltat, char *, size_t));
+
+/* keysalt.c */
+krb5_boolean
+krb5_keysalt_is_present KRB5_PROTOTYPE((krb5_key_salt_tuple *,
+                                       krb5_int32,
+                                       krb5_keytype,
+                                       krb5_int32));
+krb5_error_code
+krb5_keysalt_iterate
+       KRB5_PROTOTYPE((krb5_key_salt_tuple *,
+                       krb5_int32,
+                       krb5_boolean,
+                       krb5_error_code (*)
+                               KRB5_NPROTOTYPE((krb5_key_salt_tuple *,
+                                                krb5_pointer)),
+                       krb5_pointer));
+                                    
+krb5_error_code
+krb5_string_to_keysalts KRB5_PROTOTYPE((char *,
+                                       const char *,
+                                       const char *,
+                                       krb5_boolean,
+                                       krb5_key_salt_tuple **,
+                                       krb5_int32 *));
 #endif /* KRB5_ADM_PROTO_H__ */