From: Ezra Peisach Date: Mon, 15 Sep 1997 19:22:38 +0000 (+0000) Subject: * krb5.hin: Add const to prototypes for krb5_cc_resolve, X-Git-Tag: krb5-1.1-beta1~1034 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=421c54f0a1fef73f3a202161554976288817cb9b;p=krb5.git * krb5.hin: Add const to prototypes for krb5_cc_resolve, krb5_cc_default_name, credential cache resolve and keytab get functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10191 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index f6906c9ab..a2b90d42a 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 15 14:54:55 1997 Ezra Peisach + + * krb5.hin: Add const to prototypes for krb5_cc_resolve, + krb5_cc_default_name, credential cache resolve and keytab + get functions. + Tue Jul 29 23:14:27 1997 Theodore Y. Ts'o * krb5.hin: For Windows and Macintosh, always include stdlib.h diff --git a/src/include/krb5.hin b/src/include/krb5.hin index cb885c3f1..884281b50 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -984,7 +984,7 @@ typedef struct _krb5_cc_ops { char FAR *prefix; char FAR * (KRB5_CALLCONV *get_name) KRB5_NPROTOTYPE((krb5_context, krb5_ccache)); krb5_error_code (KRB5_CALLCONV *resolve) KRB5_NPROTOTYPE((krb5_context, krb5_ccache FAR *, - char FAR *)); + const char FAR *)); krb5_error_code (KRB5_CALLCONV *gen_new) KRB5_NPROTOTYPE((krb5_context, krb5_ccache FAR *)); krb5_error_code (KRB5_CALLCONV *init) KRB5_NPROTOTYPE((krb5_context, krb5_ccache, krb5_principal)); @@ -1179,7 +1179,7 @@ typedef struct _krb5_kt_ops { krb5_error_code (KRB5_CALLCONV *get) KRB5_NPROTOTYPE((krb5_context, krb5_keytab, - krb5_principal, + krb5_const_principal, krb5_kvno, krb5_enctype, krb5_keytab_entry FAR *)); @@ -1518,9 +1518,9 @@ krb5_error_code krb5_principal2salt_norealm /* libcc.spec */ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_cc_resolve KRB5_PROTOTYPE((krb5_context, - char FAR *, + const char FAR *, krb5_ccache FAR * )); -KRB5_DLLIMP char FAR * KRB5_CALLCONV krb5_cc_default_name +KRB5_DLLIMP const char FAR * KRB5_CALLCONV krb5_cc_default_name KRB5_PROTOTYPE((krb5_context)); KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_cc_default KRB5_PROTOTYPE((krb5_context,