summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1997-09-15 19:22:38 +0000
committerEzra Peisach <epeisach@mit.edu>1997-09-15 19:22:38 +0000
commit421c54f0a1fef73f3a202161554976288817cb9b (patch)
treec8eac25b10d0d7b79afced18a1e117981cfb0442 /src/include
parentb811c0519d0d5869413e3f12ab1af08d8794e89d (diff)
downloadkrb5-421c54f0a1fef73f3a202161554976288817cb9b.tar.gz
krb5-421c54f0a1fef73f3a202161554976288817cb9b.tar.xz
krb5-421c54f0a1fef73f3a202161554976288817cb9b.zip
* 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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog6
-rw-r--r--src/include/krb5.hin8
2 files changed, 10 insertions, 4 deletions
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 <epeisach@mit.edu>
+
+ * 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 <tytso@mit.edu>
* 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,