#include "datamodel/GSSBuffer.h"
#include <gssapi/gssapi.h>
-typedef OM_uint32 (*gss_get_mic_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_get_mic_type) (
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_qop_t, /* qop_req */
#ifndef GSSPSEUDORANDOMCOMMAND_H
#define GSSPSEUDORANDOMCOMMAND_H
-#include <openssl/rand.h>
#include <gssapi/gssapi.h>
#include "datamodel/GSSBuffer.h"
#include "GSSCommand.h"
-typedef OM_uint32 (*gss_pseudo_random_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_pseudo_random_type) (
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context */
int, /* prf_key */
#include "datamodel/GSSBuffer.h"
#include <gssapi/gssapi.h>
-typedef OM_uint32 (*gss_unwrap_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_unwrap_type) (
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t, /* input_message_buffer */
#include "GSSCommand.h"
#include "datamodel/GSSBuffer.h"
-typedef OM_uint32 (*gss_wrap_type) (
+typedef OM_uint32 (KRB5_CALLCONV *gss_wrap_type) (
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int, /* conf_req_flag */
#include <gssapi/gssapi.h>
#include <string>
-typedef OM_uint32 (*gss_acq_cred_type)(
+typedef OM_uint32 (KRB5_CALLCONV *gss_acq_cred_type)(
OM_uint32 *, /* minor_status */
gss_name_t, /* desired_name */
OM_uint32, /* time_req */
#define GSSNAME_H
-typedef OM_uint32 (*gss_imp_name_type)(
+typedef OM_uint32 (KRB5_CALLCONV *gss_imp_name_type)(
OM_uint32 *, /* minor_status */
gss_buffer_t, /* input_name_buffer */
gss_OID, /* input_name_type(used to be const) */