From 5df6c0386ac2d4bbe72063b60ff374fe108bd3fe Mon Sep 17 00:00:00 2001 From: Paul Park Date: Fri, 4 Aug 1995 20:30:56 +0000 Subject: [PATCH] Add prototype definitions for new libkadm functions git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6411 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/adm_proto.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index 59caeb1b1..b925d2bbf 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -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__ */ -- 2.26.2