Export profile_get_values() for krb4 library (win16/win32)
authorRichard Basch <probe@mit.edu>
Tue, 18 Feb 1997 05:49:56 +0000 (05:49 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 18 Feb 1997 05:49:56 +0000 (05:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9888 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/prof_init.c
src/util/profile/prof_int.h
src/util/profile/profile.hin

index 756504db38db85caa27ad2deea48f3c9be79d33e..298b4cec609d8c2eab7a29deb88e7e47d848a926 100644 (file)
@@ -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
index c13417b9dab63b714b7cc4e1b944695ad2e49488..f69fa0bb77d19c09f2c484ce9cb29264ba976504 100644 (file)
@@ -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;
index 89e7017f1781e2026db11fb9a067b6a56b1f87e6..228c77bad14e6490134ece78292c3f2e6906471d 100644 (file)
@@ -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));
index 039e6d7dba14254860544a7ec347e117ff4c8e55..3fbc4f4676884f2c1e77cf42e0a0685f516aa23f 100644 (file)
@@ -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));