diff options
author | Theodore Tso <tytso@mit.edu> | 1999-01-21 20:24:39 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1999-01-21 20:24:39 +0000 |
commit | f0c7610c59d395a182c977052478ae35d6e8fa31 (patch) | |
tree | aa6c6f7018113e6cb58e6e64c801e5e720c82daa /src | |
parent | 5963226a926334743897ce9b17b6e0c88d8588f0 (diff) | |
download | krb5-f0c7610c59d395a182c977052478ae35d6e8fa31.tar.gz krb5-f0c7610c59d395a182c977052478ae35d6e8fa31.tar.xz krb5-f0c7610c59d395a182c977052478ae35d6e8fa31.zip |
krb5.hin: Fix realm iterator prototypes so that they use
KRB5_PROTOTYPE, and surround them with extern "C" so things work under
C++.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11114 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/include/krb5.hin | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 1233671aa..630e8d213 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -2385,17 +2385,25 @@ KRB5_PROTOTYPE((krb5_context context, /* * The realm iterator functions */ +#ifdef __cplusplus +extern "C" { +#endif + KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator_create - PROTOTYPE((krb5_context context, void **iter_p)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p)); KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator - PROTOTYPE((krb5_context context, void **iter_p, char **ret_realm)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p, char **ret_realm)); KRB5_DLLIMP void KRB5_CALLCONV krb5_realm_iterator_free - PROTOTYPE((krb5_context context, void **iter_p)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p)); KRB5_DLLIMP void KRB5_CALLCONV krb5_free_realm_string - PROTOTYPE((krb5_context context, char *str)); + KRB5_PROTOTYPE((krb5_context context, char *str)); + +#ifdef __cplusplus +} +#endif #endif /* KRB5_GENERAL__ */ |