#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 */
gss_qop_t *); /* qop_state */
-class GSSUnwrap : GSSCommand
+class GSSUnwrap : public GSSCommand
{
public:
GSSUnwrap( gss_unwrap_type fn = &gss_unwrap ) : function(fn) {};