From: Paul Park Date: Mon, 31 Jul 1995 19:59:19 +0000 (+0000) Subject: Add string conversion prototypes X-Git-Tag: krb5-1.0-beta6~1462 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0492df0f8057e296f9dd3001019afac7fb84fda1;p=krb5.git Add string conversion prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6358 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index a5e05f13c..59caeb1b1 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -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__ */