summaryrefslogtreecommitdiffstats
path: root/src/util/profile/profile.hin
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>1999-09-01 21:09:09 +0000
committerKen Raeburn <raeburn@mit.edu>1999-09-01 21:09:09 +0000
commit8ac8e7ed1bdd9ceb4d84558f74906a95790eb313 (patch)
tree1cc0c7fa962920b3ea2191a1606e8efdc210412f /src/util/profile/profile.hin
parent4f36c4c7f86567fa11597b562c111e614e155bfd (diff)
downloadkrb5-8ac8e7ed1bdd9ceb4d84558f74906a95790eb313.tar.gz
krb5-8ac8e7ed1bdd9ceb4d84558f74906a95790eb313.tar.xz
krb5-8ac8e7ed1bdd9ceb4d84558f74906a95790eb313.zip
Danilo's const_profile_filespec_t and other changes from 1.1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11766 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/profile.hin')
-rw-r--r--src/util/profile/profile.hin14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin
index 420b955d4b..f681f36f46 100644
--- a/src/util/profile/profile.hin
+++ b/src/util/profile/profile.hin
@@ -51,21 +51,25 @@ extern "C" {
#endif
#ifdef PROFILE_USES_PATHS
-typedef char* profile_filespec_t; /* path as C string */
+typedef char* profile_filespec_t; /* path as C string */
typedef char* profile_filespec_list_t; /* list of : separated paths, C string */
+typedef const char* const_profile_filespec_t; /* path as C string */
+typedef const char* const_profile_filespec_list_t; /* list of : separated paths, C string */
#else
/* On MacOS, we use native file specifiers as unique file identifiers */
#include <Files.h>
typedef FSSpec profile_filespec_t;
-typedef FSSpec* profile_filespec_list_t;
- /* array should be terminated with {0, 0, ""} */
+typedef FSSpec* profile_filespec_list_t;
+/* array should be terminated with {0, 0, ""} */
+typedef FSSpec const_profile_filespec_t;
+typedef FSSpec* const_profile_filespec_list_t;
#endif
KRB5_DLLIMP long KRB5_CALLCONV profile_init
- PROTOTYPE ((profile_filespec_t *files, profile_t *ret_profile));
+ PROTOTYPE ((const_profile_filespec_t *files, profile_t *ret_profile));
KRB5_DLLIMP long KRB5_CALLCONV profile_init_path
- PROTOTYPE ((profile_filespec_list_t filelist, profile_t *ret_profile));
+ PROTOTYPE ((const_profile_filespec_list_t filelist, profile_t *ret_profile));
KRB5_DLLIMP long KRB5_CALLCONV profile_flush
PROTOTYPE ((profile_t profile));