diff options
author | Richard Basch <probe@mit.edu> | 1997-02-18 05:49:56 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1997-02-18 05:49:56 +0000 |
commit | bf5882449ddb42d763d503a72dc3f5386ec483a9 (patch) | |
tree | 8b7096cac6f24bacb4df48876dee36843e7f64b4 /src/util/profile | |
parent | 6b769d62a821107e18918e69771f4cbe94298d1e (diff) | |
download | krb5-bf5882449ddb42d763d503a72dc3f5386ec483a9.tar.gz krb5-bf5882449ddb42d763d503a72dc3f5386ec483a9.tar.xz krb5-bf5882449ddb42d763d503a72dc3f5386ec483a9.zip |
Export profile_get_values() for krb4 library (win16/win32)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9888 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile')
-rw-r--r-- | src/util/profile/ChangeLog | 5 | ||||
-rw-r--r-- | src/util/profile/prof_init.c | 3 | ||||
-rw-r--r-- | src/util/profile/prof_int.h | 42 | ||||
-rw-r--r-- | src/util/profile/profile.hin | 12 |
4 files changed, 34 insertions, 28 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 756504db3..298b4cec6 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 18 00:14:13 1997 Richard Basch <basch@lehman.com> + + * profile.hin prof_int.h prof_init.c: + Export profile_get_values() [krb4 dll requires it] + Sat Feb 15 01:58:19 1997 Richard Basch <basch@lehman.com> * Makefile.in (all-windows): Fixed win16/win32 build diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c index c13417b9d..f69fa0bb7 100644 --- a/src/util/profile/prof_init.c +++ b/src/util/profile/prof_init.c @@ -188,7 +188,8 @@ static errcode_t add_to_list(list, str) * To do more than that means we have to implement some "interesting" * code to do the section searching. */ -errcode_t profile_get_values(profile, names, ret_values) +KRB5_DLLIMP errcode_t KRB5_CALLCONV +profile_get_values(profile, names, ret_values) profile_t profile; const char **names; char ***ret_values; diff --git a/src/util/profile/prof_int.h b/src/util/profile/prof_int.h index 89e7017f1..228c77bad 100644 --- a/src/util/profile/prof_int.h +++ b/src/util/profile/prof_int.h @@ -76,83 +76,83 @@ struct _profile_section_t { typedef struct _profile_section_t *profile_section_t; -extern errcode_t profile_get +errcode_t profile_get PROTOTYPE((const char *filename, prf_file_t *ret_prof)); -extern errcode_t profile_update +errcode_t profile_update PROTOTYPE((prf_file_t profile)); -extern errcode_t profile_parse_file +errcode_t profile_parse_file PROTOTYPE((FILE *f, struct profile_node **root)); /* prof_tree.c */ -extern void profile_free_node +void profile_free_node PROTOTYPE((struct profile_node *relation)); -extern errcode_t profile_create_node +errcode_t profile_create_node PROTOTYPE((const char *name, const char *value, struct profile_node **ret_node)); -extern errcode_t profile_verify_node +errcode_t profile_verify_node PROTOTYPE((struct profile_node *node)); -extern errcode_t profile_add_node +errcode_t profile_add_node PROTOTYPE ((struct profile_node *section, const char *name, const char *value, struct profile_node **ret_node)); -extern errcode_t profile_find_node_relation +errcode_t profile_find_node_relation PROTOTYPE ((struct profile_node *section, const char *name, void **state, char **ret_name, char **value)); -extern errcode_t profile_find_node_subsection +errcode_t profile_find_node_subsection PROTOTYPE ((struct profile_node *section, const char *name, void **state, char **ret_name, struct profile_node **subsection)); -extern errcode_t profile_get_node_parent +errcode_t profile_get_node_parent PROTOTYPE ((struct profile_node *section, struct profile_node **parent)); -extern errcode_t profile_delete_node_relation +errcode_t profile_delete_node_relation PROTOTYPE ((struct profile_node *section, const char *name)); -extern errcode_t profile_find_node_name +errcode_t profile_find_node_name PROTOTYPE ((struct profile_node *section, void **state, char **ret_name)); /* prof_file.c */ -extern errcode_t profile_open_file +errcode_t profile_open_file PROTOTYPE ((const char *filename, prf_file_t *ret_prof)); -extern errcode_t profile_update_file +errcode_t profile_update_file PROTOTYPE ((prf_file_t profile)); -extern errcode_t profile_close_file +errcode_t profile_close_file PROTOTYPE ((prf_file_t profile)); /* prof_init.c */ -extern errcode_t profile_init +errcode_t profile_init PROTOTYPE ((const char **filenames, profile_t *ret_profile)); -extern errcode_t profile_init_path +errcode_t profile_init_path PROTOTYPE ((const char *filepath, profile_t *ret_profile)); -extern void profile_release +void profile_release PROTOTYPE ((profile_t profile)); -extern errcode_t profile_get_values +KRB5_DLLIMP errcode_t KRB5_CALLCONV profile_get_values PROTOTYPE ((profile_t profile, const char **names, char ***ret_values)); -extern errcode_t profile_get_string +errcode_t profile_get_string PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, const char *def_val, char **ret_string)); -extern errcode_t profile_get_integer +errcode_t profile_get_integer PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_default)); diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 039e6d7db..3fbc4f467 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -15,22 +15,22 @@ typedef struct _profile_t *profile_t; #endif #endif -extern long profile_init +long profile_init PROTOTYPE ((const char **filenames, profile_t *ret_profile)); -extern long profile_init_path +long profile_init_path PROTOTYPE ((const char *filepath, profile_t *ret_profile)); -extern void profile_release +void profile_release PROTOTYPE ((profile_t profile)); -extern long profile_get_values +KRB5_DLLIMP long KRB5_CALLCONV profile_get_values PROTOTYPE ((profile_t profile, const char **names, char ***ret_values)); -extern long profile_get_string +long profile_get_string PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, const char *def_val, char **ret_string)); -extern long profile_get_integer +long profile_get_integer PROTOTYPE((profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_default)); |