diff options
| author | Theodore Tso <tytso@mit.edu> | 1999-03-03 01:26:15 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1999-03-03 01:26:15 +0000 |
| commit | c04da8d90f3548ea66b5968e9a13fcc4a3f7c01f (patch) | |
| tree | 89add861b91f41b7de5d5b28143d76d2a7f7af2e /src/util/profile/prof_init.c | |
| parent | 576b3cdf9fa6c69c957324c6557417f2a450d7e5 (diff) | |
| download | krb5-c04da8d90f3548ea66b5968e9a13fcc4a3f7c01f.tar.gz krb5-c04da8d90f3548ea66b5968e9a13fcc4a3f7c01f.tar.xz krb5-c04da8d90f3548ea66b5968e9a13fcc4a3f7c01f.zip | |
prof_tree.c: Add new functions profile_get_node_name,
profile_get_node_value, profile_find_node, profile_remove_node,
profile_set_relation_value, profile_rename_node. Rewrite
profile_find_node_relation and profile_find_node_subsection in terms
of profile_find_node.
prof_set.c, Makefile.in: Add a new file which exports the public
interfaces for setting profile entries.
prof_get.c, prof_init.c, prof_int.h: Add the KRB5_DLLIMP and
KRB5_CALLCONV to all of the various profile routines so they can be
properly exported via a Windows DLL.
prof_int.h: Add definition for the flags in the profile structure.
prof_err.et: Add new error codes PROF_SET_SECTION_VALUE, PROF_EINVAL,
PROF_READ_ONLY, and PROF_EXISTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11236 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/prof_init.c')
| -rw-r--r-- | src/util/profile/prof_init.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c index 238ee03e85..d88d5f3ac3 100644 --- a/src/util/profile/prof_init.c +++ b/src/util/profile/prof_init.c @@ -23,7 +23,8 @@ typedef int prof_int32; error(do not have a 4-byte integer type) #endif /* SIZEOF_LONG == 4 */ -errcode_t profile_init(filenames, ret_profile) +KRB5_DLLIMP errcode_t KRB5_CALLCONV +profile_init(filenames, ret_profile) const char **filenames; profile_t *ret_profile; { @@ -68,7 +69,8 @@ errcode_t profile_init(filenames, ret_profile) return 0; } -errcode_t profile_init_path(filepath, ret_profile) +KRB5_DLLIMP errcode_t KRB5_CALLCONV +profile_init_path(filepath, ret_profile) const char *filepath; profile_t *ret_profile; { @@ -118,7 +120,8 @@ errcode_t profile_init_path(filepath, ret_profile) } -void profile_release(profile) +KRB5_DLLIMP void KRB5_CALLCONV +profile_release(profile) profile_t profile; { prf_file_t p, next; |
