Conf file is now in source tree
[mod_auth_kerb.cvs/.git] / spnegokrb5 / spnegokrb5.h
index c18edea..84359ee 100644 (file)
@@ -12,7 +12,15 @@ extern "C" {
 #  include <gssapi/gssapi.h>
 #endif
 
-OM_uint32 gss_init_sec_context_spnego(
+#ifndef KRB5_LIB_FUNCTION
+#  if defined(_WIN32)
+#    define KRB5_LIB_FUNCTION _stdcall
+#  else
+#    define KRB5_LIB_FUNCTION
+#  endif
+#endif
+
+OM_uint32 KRB5_LIB_FUNCTION gss_init_sec_context_spnego(
             OM_uint32 *,
             const gss_cred_id_t,
             gss_ctx_id_t *,
@@ -27,7 +35,7 @@ OM_uint32 gss_init_sec_context_spnego(
             OM_uint32 *,
             OM_uint32 *);
 
-OM_uint32 gss_accept_sec_context_spnego
+OM_uint32 KRB5_LIB_FUNCTION gss_accept_sec_context_spnego
            (OM_uint32 *,
             gss_ctx_id_t *,
             const gss_cred_id_t,