Add string conversion prototypes
authorPaul Park <pjpark@mit.edu>
Mon, 31 Jul 1995 19:59:19 +0000 (19:59 +0000)
committerPaul Park <pjpark@mit.edu>
Mon, 31 Jul 1995 19:59:19 +0000 (19:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6358 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/adm_proto.h

index a5e05f13c5bc76c5e6e9d9039902fea9c092147d..59caeb1b12442b5c5f568dd2c5a3157102f9b005 100644 (file)
@@ -161,4 +161,40 @@ krb5_error_code krb5_read_realm_params KRB5_PROTOTYPE((krb5_context,
                                                       krb5_realm_params **));
 krb5_error_code krb5_free_realm_params KRB5_PROTOTYPE((krb5_context,
                                                       krb5_realm_params *));
+
+/* str_conv.c */
+krb5_error_code
+krb5_string_to_keytype KRB5_PROTOTYPE((char *, krb5_keytype *));
+krb5_error_code
+krb5_string_to_salttype KRB5_PROTOTYPE((char *, krb5_int32 *));
+krb5_error_code
+krb5_string_to_enctype KRB5_PROTOTYPE((char *, krb5_enctype *));
+krb5_error_code
+krb5_string_to_cksumtype KRB5_PROTOTYPE((char *, krb5_cksumtype *));
+krb5_error_code
+krb5_string_to_flags KRB5_PROTOTYPE((char *,
+                                    const char *,
+                                    const char *,
+                                    krb5_flags *));
+krb5_error_code
+krb5_string_to_timestamp KRB5_PROTOTYPE((char *, krb5_timestamp *));
+krb5_error_code
+krb5_string_to_deltat KRB5_PROTOTYPE((char *, krb5_deltat *));
+krb5_error_code
+krb5_keytype_to_string KRB5_PROTOTYPE((krb5_keytype, char *, size_t));
+krb5_error_code
+krb5_salttype_to_string KRB5_PROTOTYPE((krb5_int32, char *, size_t));
+krb5_error_code
+krb5_enctype_to_string KRB5_PROTOTYPE((krb5_enctype, char *, size_t));
+krb5_error_code
+krb5_cksumtype_to_string KRB5_PROTOTYPE((krb5_cksumtype, char *, size_t));
+krb5_error_code
+krb5_flags_to_string KRB5_PROTOTYPE((krb5_flags,
+                                    const char *,
+                                    char *,
+                                    size_t));
+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));
 #endif /* KRB5_ADM_PROTO_H__ */