#endif /* LEAN_CLIENT */
OM_uint32
-krb5_gss_accept_sec_context_ext(
+KRB5_CALLCONV krb5_gss_accept_sec_context_ext(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_cred_id_t verifier_cred_handle,
}
OM_uint32
-krb5_gss_accept_sec_context(minor_status, context_handle,
+KRB5_CALLCONV krb5_gss_accept_sec_context(minor_status, context_handle,
verifier_cred_handle, input_token,
input_chan_bindings, src_name, mech_type,
output_token, ret_flags, time_rec,
*/
static OM_uint32
-acquire_accept_cred(krb5_context context,
+KRB5_CALLCONV acquire_accept_cred(krb5_context context,
OM_uint32 *minor_status,
krb5_gss_name_t desired_name,
krb5_keytab req_keytab,
*/
OM_uint32
-krb5_gss_acquire_cred(minor_status, desired_name, time_req,
+KRB5_CALLCONV krb5_gss_acquire_cred(minor_status, desired_name, time_req,
desired_mechs, cred_usage, output_cred_handle,
actual_mechs, time_rec)
OM_uint32 *minor_status;
}
OM_uint32
-iakerb_gss_acquire_cred(minor_status, desired_name, time_req,
+KRB5_CALLCONV iakerb_gss_acquire_cred(minor_status, desired_name, time_req,
desired_mechs, cred_usage, output_cred_handle,
actual_mechs, time_rec)
OM_uint32 *minor_status;
}
OM_uint32
-krb5_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_acquire_cred_with_password(OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
OM_uint32 time_req,
}
OM_uint32
-iakerb_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_acquire_cred_with_password(OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
OM_uint32 time_req,
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_compare_name(minor_status, name1, name2, name_equal)
+KRB5_CALLCONV krb5_gss_compare_name(minor_status, name1, name2, name_equal)
OM_uint32 *minor_status;
gss_name_t name1;
gss_name_t name2;
*/
OM_uint32
-krb5_gss_context_time(minor_status, context_handle, time_rec)
+KRB5_CALLCONV krb5_gss_context_time(minor_status, context_handle, time_rec)
OM_uint32 *minor_status;
gss_ctx_id_t context_handle;
OM_uint32 *time_rec;
*/
OM_uint32
-krb5_gss_delete_sec_context(minor_status, context_handle, output_token)
+KRB5_CALLCONV krb5_gss_delete_sec_context(minor_status, context_handle, output_token)
OM_uint32 *minor_status;
gss_ctx_id_t *context_handle;
gss_buffer_t output_token;
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_display_name(minor_status, input_name, output_name_buffer,
+KRB5_CALLCONV krb5_gss_display_name(minor_status, input_name, output_name_buffer,
output_name_type)
OM_uint32 *minor_status;
gss_name_t input_name;
/**/
OM_uint32
-krb5_gss_display_status(minor_status, status_value, status_type,
+KRB5_CALLCONV krb5_gss_display_status(minor_status, status_value, status_type,
mech_type, message_context, status_string)
OM_uint32 *minor_status;
OM_uint32 status_value;
#include "gssapiP_krb5.h"
-OM_uint32 krb5_gss_duplicate_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV krb5_gss_duplicate_name(OM_uint32 *minor_status,
const gss_name_t input_name,
gss_name_t *dest_name)
{
#include "gssapiP_krb5.h"
-OM_uint32 krb5_gss_export_name(OM_uint32 *minor_status,
+OM_uint32 KRB5_CALLCONV krb5_gss_export_name(OM_uint32 *minor_status,
const gss_name_t input_name,
gss_buffer_t exported_name)
{
#include "gssapiP_krb5.h"
#ifndef LEAN_CLIENT
OM_uint32
-krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token)
+KRB5_CALLCONV krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token)
OM_uint32 *minor_status;
gss_ctx_id_t *context_handle;
gss_buffer_t interprocess_token;
/** declarations of internal name mechanism functions **/
-OM_uint32 krb5_gss_acquire_cred
+OM_uint32
+KRB5_CALLCONV krb5_gss_acquire_cred
(OM_uint32*, /* minor_status */
gss_name_t, /* desired_name */
OM_uint32, /* time_req */
);
OM_uint32
-iakerb_gss_acquire_cred
+KRB5_CALLCONV iakerb_gss_acquire_cred
(OM_uint32*, /* minor_status */
gss_name_t, /* desired_name */
OM_uint32, /* time_req */
);
OM_uint32
-krb5_gss_acquire_cred_with_password(
+KRB5_CALLCONV krb5_gss_acquire_cred_with_password(
OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
OM_uint32 *time_rec);
OM_uint32
-iakerb_gss_acquire_cred_with_password(
+KRB5_CALLCONV iakerb_gss_acquire_cred_with_password(
OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
gss_OID_set *actual_mechs,
OM_uint32 *time_rec);
-OM_uint32 krb5_gss_release_cred
+OM_uint32
+KRB5_CALLCONV krb5_gss_release_cred
(OM_uint32*, /* minor_status */
gss_cred_id_t* /* cred_handle */
);
-OM_uint32 krb5_gss_init_sec_context
+OM_uint32 KRB5_CALLCONV krb5_gss_init_sec_context
(OM_uint32*, /* minor_status */
gss_cred_id_t, /* claimant_cred_handle */
gss_ctx_id_t*, /* context_handle */
);
#ifndef LEAN_CLIENT
-OM_uint32 krb5_gss_accept_sec_context
+OM_uint32 KRB5_CALLCONV krb5_gss_accept_sec_context
(OM_uint32*, /* minor_status */
gss_ctx_id_t*, /* context_handle */
gss_cred_id_t, /* verifier_cred_handle */
gss_cred_id_t* /* delegated_cred_handle */
);
-OM_uint32 krb5_gss_accept_sec_context_ext
+OM_uint32 KRB5_CALLCONV krb5_gss_accept_sec_context_ext
(OM_uint32*, /* minor_status */
gss_ctx_id_t*, /* context_handle */
gss_cred_id_t, /* verifier_cred_handle */
);
#endif /* LEAN_CLIENT */
-OM_uint32 krb5_gss_process_context_token
+OM_uint32 KRB5_CALLCONV krb5_gss_process_context_token
(OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t /* token_buffer */
);
-OM_uint32 krb5_gss_delete_sec_context
+OM_uint32 KRB5_CALLCONV krb5_gss_delete_sec_context
(OM_uint32*, /* minor_status */
gss_ctx_id_t*, /* context_handle */
gss_buffer_t /* output_token */
);
-OM_uint32 krb5_gss_context_time
+OM_uint32 KRB5_CALLCONV krb5_gss_context_time
(OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
OM_uint32* /* time_rec */
);
-OM_uint32 krb5_gss_display_status
+OM_uint32 KRB5_CALLCONV krb5_gss_display_status
(OM_uint32*, /* minor_status */
OM_uint32, /* status_value */
int, /* status_type */
gss_buffer_t /* status_string */
);
-OM_uint32 krb5_gss_indicate_mechs
+OM_uint32 KRB5_CALLCONV krb5_gss_indicate_mechs
(OM_uint32*, /* minor_status */
gss_OID_set* /* mech_set */
);
-OM_uint32 krb5_gss_compare_name
+OM_uint32 KRB5_CALLCONV krb5_gss_compare_name
(OM_uint32*, /* minor_status */
gss_name_t, /* name1 */
gss_name_t, /* name2 */
int* /* name_equal */
);
-OM_uint32 krb5_gss_display_name
+OM_uint32 KRB5_CALLCONV krb5_gss_display_name
(OM_uint32*, /* minor_status */
gss_name_t, /* input_name */
gss_buffer_t, /* output_name_buffer */
);
-OM_uint32 krb5_gss_import_name
+OM_uint32 KRB5_CALLCONV krb5_gss_import_name
(OM_uint32*, /* minor_status */
gss_buffer_t, /* input_name_buffer */
gss_OID, /* input_name_type */
gss_name_t* /* output_name */
);
-OM_uint32 krb5_gss_release_name
+OM_uint32 KRB5_CALLCONV krb5_gss_release_name
(OM_uint32*, /* minor_status */
gss_name_t* /* input_name */
);
-OM_uint32 krb5_gss_inquire_cred
+OM_uint32 KRB5_CALLCONV krb5_gss_inquire_cred
(OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
gss_name_t *, /* name */
gss_OID_set * /* mechanisms */
);
-OM_uint32 krb5_gss_inquire_context
+OM_uint32 KRB5_CALLCONV krb5_gss_inquire_context
(OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_name_t*, /* initiator_name */
);
/* New V2 entry points */
-OM_uint32 krb5_gss_get_mic
+OM_uint32 KRB5_CALLCONV krb5_gss_get_mic
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_qop_t, /* qop_req */
gss_buffer_t /* message_token */
);
-OM_uint32 krb5_gss_verify_mic
+OM_uint32 KRB5_CALLCONV krb5_gss_verify_mic
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t, /* message_buffer */
gss_qop_t * /* qop_state */
);
-OM_uint32 krb5_gss_wrap
+OM_uint32 KRB5_CALLCONV krb5_gss_wrap
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int, /* conf_req_flag */
gss_buffer_t /* output_message_buffer */
);
-OM_uint32 krb5_gss_wrap_iov
+OM_uint32 KRB5_CALLCONV krb5_gss_wrap_iov
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int, /* conf_req_flag */
);
OM_uint32
-krb5_gss_wrap_iov_length
+KRB5_CALLCONV krb5_gss_wrap_iov_length
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int, /* conf_req_flag */
int /* iov_count */
);
-OM_uint32 krb5_gss_unwrap
+OM_uint32 KRB5_CALLCONV krb5_gss_unwrap
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t, /* input_message_buffer */
gss_qop_t * /* qop_state */
);
-OM_uint32 krb5_gss_unwrap_iov
+OM_uint32 KRB5_CALLCONV krb5_gss_unwrap_iov
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int *, /* conf_state */
int /* iov_count */
);
-OM_uint32 krb5_gss_wrap_size_limit
+OM_uint32 KRB5_CALLCONV krb5_gss_wrap_size_limit
(OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int, /* conf_req_flag */
OM_uint32 * /* max_input_size */
);
-OM_uint32 krb5_gss_import_name_object
+OM_uint32 KRB5_CALLCONV krb5_gss_import_name_object
(OM_uint32 *, /* minor_status */
void *, /* input_name */
gss_OID, /* input_name_type */
gss_name_t * /* output_name */
);
-OM_uint32 krb5_gss_export_name_object
+OM_uint32 KRB5_CALLCONV krb5_gss_export_name_object
(OM_uint32 *, /* minor_status */
gss_name_t, /* input_name */
gss_OID, /* desired_name_type */
void * * /* output_name */
);
-OM_uint32 krb5_gss_inquire_cred_by_mech
+OM_uint32 KRB5_CALLCONV krb5_gss_inquire_cred_by_mech
(OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
gss_OID, /* mech_type */
gss_cred_usage_t * /* cred_usage */
);
#ifndef LEAN_CLIENT
-OM_uint32 krb5_gss_export_sec_context
+OM_uint32 KRB5_CALLCONV krb5_gss_export_sec_context
(OM_uint32 *, /* minor_status */
gss_ctx_id_t *, /* context_handle */
gss_buffer_t /* interprocess_token */
);
-OM_uint32 krb5_gss_import_sec_context
+OM_uint32 KRB5_CALLCONV krb5_gss_import_sec_context
(OM_uint32 *, /* minor_status */
gss_buffer_t, /* interprocess_token */
gss_ctx_id_t * /* context_handle */
gss_OID * /* oid */
);
-OM_uint32 krb5_gss_internal_release_oid
+OM_uint32 KRB5_CALLCONV krb5_gss_internal_release_oid
(OM_uint32 *, /* minor_status */
gss_OID * /* oid */
);
-OM_uint32 krb5_gss_inquire_names_for_mech
+OM_uint32 KRB5_CALLCONV krb5_gss_inquire_names_for_mech
(OM_uint32 *, /* minor_status */
gss_OID, /* mechanism */
gss_OID_set * /* name_types */
gss_name_t * /* output_name */
);
-OM_uint32 krb5_gss_export_name
+OM_uint32 KRB5_CALLCONV krb5_gss_export_name
(OM_uint32 *, /* minor_status */
const gss_name_t, /* input_name */
gss_buffer_t /* exported_name */
);
-OM_uint32 krb5_gss_duplicate_name
+OM_uint32 KRB5_CALLCONV krb5_gss_duplicate_name
(OM_uint32 *, /* minor_status */
const gss_name_t, /* input_name */
gss_name_t * /* dest_name */
gss_cred_id_t /* cred */
);
-OM_uint32 krb5_gss_acquire_cred_impersonate_name(
+OM_uint32 KRB5_CALLCONV krb5_gss_acquire_cred_impersonate_name(
OM_uint32 *, /* minor_status */
const gss_cred_id_t, /* impersonator_cred_handle */
const gss_name_t, /* desired_name */
krb5_principal *princ_out);
OM_uint32
-krb5_gss_display_name_ext(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_display_name_ext(OM_uint32 *minor_status,
gss_name_t name,
gss_OID display_as_name_type,
gss_buffer_t display_name);
OM_uint32
-krb5_gss_inquire_name(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_name(OM_uint32 *minor_status,
gss_name_t name,
int *name_is_MN,
gss_OID *MN_mech,
gss_buffer_set_t *attrs);
OM_uint32
-krb5_gss_get_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr,
int *authenticated,
int *more);
OM_uint32
-krb5_gss_set_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_set_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
int complete,
gss_buffer_t attr,
gss_buffer_t value);
OM_uint32
-krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr);
OM_uint32
-krb5_gss_export_name_composite(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_export_name_composite(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t exp_composite_name);
OM_uint32
-krb5_gss_map_name_to_any(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_map_name_to_any(OM_uint32 *minor_status,
gss_name_t name,
int authenticated,
gss_buffer_t type_id,
gss_any_t *output);
OM_uint32
-krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t type_id,
gss_any_t *input);
OM_uint32
-krb5_gss_pseudo_random(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_pseudo_random(OM_uint32 *minor_status,
gss_ctx_id_t context,
int prf_key,
const gss_buffer_t prf_in,
gss_buffer_t prf_out);
OM_uint32
-krb5_gss_store_cred(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_store_cred(OM_uint32 *minor_status,
gss_cred_id_t input_cred_handle,
gss_cred_usage_t cred_usage,
const gss_OID desired_mech,
/* IAKERB */
OM_uint32
-iakerb_gss_init_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_init_sec_context(OM_uint32 *minor_status,
gss_cred_id_t claimant_cred_handle,
gss_ctx_id_t *context_handle,
gss_name_t target_name,
OM_uint32 *time_rec);
OM_uint32
-iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
gss_ctx_id_t *context_handler,
gss_cred_id_t verifier_cred_handle,
gss_buffer_t input_token,
gss_cred_id_t *delegated_cred_handle);
OM_uint32
-iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token);
--- /dev/null
+/*
+ * lib/gssapi/krb5/gssapi_err_krb5.c:
+ * This file is automatically generated; please do not edit it.
+ */
+#if defined(_WIN32)
+# include "win-mac.h"
+#endif
+
+#if !defined(_WIN32)
+extern void initialize_k5g_error_table (void);
+#endif
+
+#define N_(x) (x)
+
+/* Lclint doesn't handle null annotations on arrays
+ properly, so we need this typedef in each
+ generated .c file. */
+/*@-redef@*/
+typedef /*@null@*/ const char *ncptr;
+/*@=redef@*/
+
+static ncptr const text[] = {
+ N_("Principal in credential cache does not match desired name"),
+ N_("No principal in keytab matches desired name"),
+ N_("Credential cache has no TGT"),
+ N_("Authenticator has no subkey"),
+ N_("Context is already fully established"),
+ N_("Unknown signature type in token"),
+ N_("Invalid field length in token"),
+ N_("Attempt to use incomplete security context"),
+ N_("Bad magic number for krb5_gss_ctx_id_t"),
+ N_("Bad magic number for krb5_gss_cred_id_t"),
+ N_("Bad magic number for krb5_gss_enc_desc"),
+ N_("Sequence number in token is corrupt"),
+ N_("Credential cache is empty"),
+ N_("Acceptor and Initiator share no checksum types"),
+ N_("Requested lucid context version not supported"),
+ N_("PRF input too long"),
+ N_("Bad magic number for iakerb_ctx_id_t"),
+ 0
+};
+
+#include <com_err.h>
+
+const struct error_table et_k5g_error_table = { text, 39756032L, 17 };
+
+#if !defined(_WIN32)
+void initialize_k5g_error_table (void)
+ /*@modifies internalState@*/
+{
+ (void) add_error_table (&et_k5g_error_table);
+}
+#endif
--- /dev/null
+/*
+ * lib/gssapi/krb5/gssapi_err_krb5.h:
+ * This file is automatically generated; please do not edit it.
+ */
+
+#include <com_err.h>
+
+#define KG_CCACHE_NOMATCH (39756032L)
+#define KG_KEYTAB_NOMATCH (39756033L)
+#define KG_TGT_MISSING (39756034L)
+#define KG_NO_SUBKEY (39756035L)
+#define KG_CONTEXT_ESTABLISHED (39756036L)
+#define KG_BAD_SIGN_TYPE (39756037L)
+#define KG_BAD_LENGTH (39756038L)
+#define KG_CTX_INCOMPLETE (39756039L)
+#define KG_CONTEXT (39756040L)
+#define KG_CRED (39756041L)
+#define KG_ENC_DESC (39756042L)
+#define KG_BAD_SEQ (39756043L)
+#define KG_EMPTY_CCACHE (39756044L)
+#define KG_NO_CTYPES (39756045L)
+#define KG_LUCID_VERSION (39756046L)
+#define KG_INPUT_TOO_LONG (39756047L)
+#define KG_IAKERB_CONTEXT (39756048L)
+#define ERROR_TABLE_BASE_k5g (39756032L)
+
+extern const struct error_table et_k5g_error_table;
+
+#if !defined(_WIN32)
+/* for compatibility with older versions... */
+extern void initialize_k5g_error_table (void) /*@modifies internalState@*/;
+#else
+#define initialize_k5g_error_table()
+#endif
+
+#if !defined(_WIN32)
+#define init_k5g_err_tbl initialize_k5g_error_table
+#define k5g_err_base ERROR_TABLE_BASE_k5g
+#endif
};
static OM_uint32
-krb5_gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_OID desired_object,
gss_buffer_set_t *data_set)
#endif
static OM_uint32
-krb5_gss_inquire_cred_by_oid(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_cred_by_oid(OM_uint32 *minor_status,
const gss_cred_id_t cred_handle,
const gss_OID desired_object,
gss_buffer_set_t *data_set)
#endif
static OM_uint32
-krb5_gss_set_sec_context_option (OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_set_sec_context_option (OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
const gss_OID desired_object,
const gss_buffer_t value)
};
static OM_uint32
-krb5_gssspi_set_cred_option(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gssspi_set_cred_option(OM_uint32 *minor_status,
gss_cred_id_t *cred_handle,
const gss_OID desired_object,
const gss_buffer_t value)
};
static OM_uint32
-krb5_gssspi_mech_invoke (OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gssspi_mech_invoke (OM_uint32 *minor_status,
const gss_OID desired_mech,
const gss_OID desired_object,
gss_buffer_t value)
#define GS2_IAKERB_SASL_NAME_LEN (sizeof(GS2_IAKERB_SASL_NAME) - 1)
static OM_uint32
-krb5_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
const gss_buffer_t sasl_mech_name,
gss_OID *mech_type)
{
}
static OM_uint32
-krb5_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
const gss_OID desired_mech,
gss_buffer_t sasl_mech_name,
gss_buffer_t mech_name,
}
static OM_uint32
-krb5_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
gss_const_OID mech,
gss_OID_set *mech_attrs,
gss_OID_set *known_mech_attrs)
#ifndef NO_PASSWORD
static OM_uint32
-krb5_gss_pname_to_uid(OM_uint32 *minor,
+KRB5_CALLCONV krb5_gss_pname_to_uid(OM_uint32 *minor,
const gss_name_t pname,
const gss_OID mech_type,
uid_t *uid)
#endif /* !NO_PASSWORD */
static OM_uint32
-krb5_gss_authorize_localname(OM_uint32 *minor,
+KRB5_CALLCONV krb5_gss_authorize_localname(OM_uint32 *minor,
const gss_name_t pname,
gss_const_buffer_t local_user,
gss_const_OID name_type)
* handles. The heuristic is similar to SPNEGO's delete_sec_context.
*/
OM_uint32
-iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_delete_sec_context(OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token)
{
}
OM_uint32
-iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_cred_id_t verifier_cred_handle,
gss_buffer_t input_token,
}
OM_uint32
-iakerb_gss_init_sec_context(OM_uint32 *minor_status,
+KRB5_CALLCONV iakerb_gss_init_sec_context(OM_uint32 *minor_status,
gss_cred_id_t claimant_cred_handle,
gss_ctx_id_t *context_handle,
gss_name_t target_name,
}
OM_uint32
-krb5_gss_import_name(minor_status, input_name_buffer,
+KRB5_CALLCONV krb5_gss_import_name(minor_status, input_name_buffer,
input_name_type, output_name)
OM_uint32 *minor_status;
gss_buffer_t input_name_buffer;
}
OM_uint32
-krb5_gss_import_sec_context(minor_status, interprocess_token, context_handle)
+KRB5_CALLCONV krb5_gss_import_sec_context(minor_status, interprocess_token, context_handle)
OM_uint32 *minor_status;
gss_buffer_t interprocess_token;
gss_ctx_id_t *context_handle;
#include "mglueP.h"
OM_uint32
-krb5_gss_indicate_mechs(minor_status, mech_set)
+KRB5_CALLCONV krb5_gss_indicate_mechs(minor_status, mech_set)
OM_uint32 *minor_status;
gss_OID_set *mech_set;
{
#endif
OM_uint32
-krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
+KRB5_CALLCONV krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
context_handle, target_name, mech_type,
req_flags, time_req, input_chan_bindings,
input_token, actual_mech_type, output_token,
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_inquire_context(minor_status, context_handle, initiator_name,
+KRB5_CALLCONV krb5_gss_inquire_context(minor_status, context_handle, initiator_name,
acceptor_name, lifetime_rec, mech_type, ret_flags,
locally_initiated, opened)
OM_uint32 *minor_status;
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret,
+KRB5_CALLCONV krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret,
cred_usage, mechanisms)
OM_uint32 *minor_status;
gss_cred_id_t cred_handle;
/* V2 interface */
OM_uint32
-krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
+KRB5_CALLCONV krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
mech_type, name, initiator_lifetime,
acceptor_lifetime, cred_usage)
OM_uint32 *minor_status;
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
+KRB5_CALLCONV krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
OM_uint32 *minor_status;
gss_OID mechanism;
gss_OID_set *name_types;
}
OM_uint32
-krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
+KRB5_CALLCONV krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
qop_req, input_message_buffer, conf_state,
output_message_buffer)
OM_uint32 *minor_status;
}
OM_uint32
-krb5_gss_get_mic(minor_status, context_handle, qop_req,
+KRB5_CALLCONV krb5_gss_get_mic(minor_status, context_handle, qop_req,
message_buffer, message_token)
OM_uint32 *minor_status;
gss_ctx_id_t context_handle;
}
OM_uint32
-krb5_gss_wrap_iov(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_wrap_iov(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
gss_qop_t qop_req,
}
OM_uint32
-krb5_gss_wrap_iov_length(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_wrap_iov_length(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
gss_qop_t qop_req,
}
OM_uint32
-krb5_gss_unwrap(minor_status, context_handle,
+KRB5_CALLCONV krb5_gss_unwrap(minor_status, context_handle,
input_message_buffer, output_message_buffer,
conf_state, qop_state)
OM_uint32 *minor_status;
}
OM_uint32
-krb5_gss_verify_mic(minor_status, context_handle,
+KRB5_CALLCONV krb5_gss_verify_mic(minor_status, context_handle,
message_buffer, token_buffer,
qop_state)
OM_uint32 *minor_status;
}
OM_uint32
-krb5_gss_unwrap_iov(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_unwrap_iov(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int *conf_state,
gss_qop_t *qop_state,
}
OM_uint32
-krb5_gss_inquire_name(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_inquire_name(OM_uint32 *minor_status,
gss_name_t name,
int *name_is_MN,
gss_OID *MN_mech,
}
OM_uint32
-krb5_gss_get_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_get_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr,
int *authenticated,
}
OM_uint32
-krb5_gss_set_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_set_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
int complete,
gss_buffer_t attr,
}
OM_uint32
-krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_delete_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr)
{
}
OM_uint32
-krb5_gss_map_name_to_any(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_map_name_to_any(OM_uint32 *minor_status,
gss_name_t name,
int authenticated,
gss_buffer_t type_id,
}
OM_uint32
-krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_release_any_name_mapping(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t type_id,
gss_any_t *input)
}
OM_uint32
-krb5_gss_export_name_composite(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_export_name_composite(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t exp_composite_name)
{
#endif
OM_uint32
-krb5_gss_pseudo_random(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_pseudo_random(OM_uint32 *minor_status,
gss_ctx_id_t context,
int prf_key,
const gss_buffer_t prf_in,
*/
OM_uint32
-krb5_gss_process_context_token(minor_status, context_handle,
+KRB5_CALLCONV krb5_gss_process_context_token(minor_status, context_handle,
token_buffer)
OM_uint32 *minor_status;
gss_ctx_id_t context_handle;
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_release_cred(minor_status, cred_handle)
+KRB5_CALLCONV krb5_gss_release_cred(minor_status, cred_handle)
OM_uint32 *minor_status;
gss_cred_id_t *cred_handle;
{
#include "gssapiP_krb5.h"
OM_uint32
-krb5_gss_release_name(minor_status, input_name)
+KRB5_CALLCONV krb5_gss_release_name(minor_status, input_name)
OM_uint32 *minor_status;
gss_name_t *input_name;
{
#include "gssapiP_krb5.h"
-OM_uint32 krb5_gss_internal_release_oid (OM_uint32 *, /* minor_status */
+OM_uint32 KRB5_CALLCONV krb5_gss_internal_release_oid (OM_uint32 *, /* minor_status */
gss_OID * /* oid */
);
}
OM_uint32
-krb5_gss_internal_release_oid(minor_status, oid)
+KRB5_CALLCONV krb5_gss_internal_release_oid(minor_status, oid)
OM_uint32 *minor_status;
gss_OID *oid;
{
/* The mechglue always passes null desired_mechs and actual_mechs. */
OM_uint32
-krb5_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
const gss_cred_id_t impersonator_cred_handle,
const gss_name_t desired_name,
OM_uint32 time_req,
}
OM_uint32
-krb5_gss_store_cred(OM_uint32 *minor_status,
+KRB5_CALLCONV krb5_gss_store_cred(OM_uint32 *minor_status,
gss_cred_id_t input_cred_handle,
gss_cred_usage_t cred_usage,
const gss_OID desired_mech,
/* V2 interface */
OM_uint32
-krb5_gss_wrap_size_limit(minor_status, context_handle, conf_req_flag,
+KRB5_CALLCONV krb5_gss_wrap_size_limit(minor_status, context_handle, conf_req_flag,
qop_req, req_output_size, max_input_size)
OM_uint32 *minor_status;
gss_ctx_id_t context_handle;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <mglueP.h>
#include <gssapi/gssapi.h>
return (status);
}
-OM_uint32
+OM_uint32 KRB5_CALLCONV
gss_authorize_localname(OM_uint32 *minor,
const gss_name_t name,
const gss_name_t user)
}
int
-gss_userok(const gss_name_t name,
+KRB5_CALLCONV gss_userok(const gss_name_t name,
const char *user)
{
OM_uint32 major, minor;
#include "mglueP.h"
-OM_uint32
+OM_uint32 KRB5_CALLCONV
gss_decapsulate_token(gss_const_buffer_t input_token,
gss_const_OID token_oid,
gss_buffer_t output_token)
#include "mglueP.h"
-OM_uint32
+OM_uint32 KRB5_CALLCONV
gss_encapsulate_token(gss_const_buffer_t input_token,
gss_const_OID token_oid,
gss_buffer_t output_token)
return generic_gss_copy_oid_set(minor_status, oidset, new_oidset);
}
-int
+int KRB5_CALLCONV
gss_oid_equal(
gss_const_OID first_oid,
gss_const_OID second_oid)
return major;
}
-OM_uint32
+OM_uint32 KRB5_CALLCONV
gss_pname_to_uid(OM_uint32 *minor,
const gss_name_t pname,
const gss_OID mech_type,
gss_union_cred_auxinfo auxinfo;
} gss_union_cred_desc, *gss_union_cred_t;
-typedef OM_uint32 (*gss_acquire_cred_with_password_sfct)(
+typedef OM_uint32 (KRB5_CALLCONV *gss_acquire_cred_with_password_sfct)(
OM_uint32 *, /* minor_status */
const gss_name_t, /* desired_name */
const gss_buffer_t, /* password */
typedef struct gss_config {
gss_OID_desc mech_type;
void * context;
- OM_uint32 (*gss_acquire_cred)
+ OM_uint32 (KRB5_CALLCONV *gss_acquire_cred)
(
OM_uint32*, /* minor_status */
gss_name_t, /* desired_name */
gss_OID_set*, /* actual_mechs */
OM_uint32* /* time_rec */
);
- OM_uint32 (*gss_release_cred)
+ OM_uint32 (KRB5_CALLCONV *gss_release_cred)
(
OM_uint32*, /* minor_status */
gss_cred_id_t* /* cred_handle */
);
- OM_uint32 (*gss_init_sec_context)
+ OM_uint32 (KRB5_CALLCONV *gss_init_sec_context)
(
OM_uint32*, /* minor_status */
gss_cred_id_t, /* claimant_cred_handle */
OM_uint32*, /* ret_flags */
OM_uint32* /* time_rec */
);
- OM_uint32 (*gss_accept_sec_context)
+ OM_uint32 (KRB5_CALLCONV *gss_accept_sec_context)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t*, /* context_handle */
OM_uint32*, /* time_rec */
gss_cred_id_t* /* delegated_cred_handle */
);
- OM_uint32 (*gss_process_context_token)
+ OM_uint32 (KRB5_CALLCONV *gss_process_context_token)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t /* token_buffer */
);
- OM_uint32 (*gss_delete_sec_context)
+ OM_uint32 (KRB5_CALLCONV *gss_delete_sec_context)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t*, /* context_handle */
gss_buffer_t /* output_token */
);
- OM_uint32 (*gss_context_time)
+ OM_uint32 (KRB5_CALLCONV *gss_context_time)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
OM_uint32* /* time_rec */
);
- OM_uint32 (*gss_get_mic)
+ OM_uint32 (KRB5_CALLCONV *gss_get_mic)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t, /* message_buffer */
gss_buffer_t /* message_token */
);
- OM_uint32 (*gss_verify_mic)
+ OM_uint32 (KRB5_CALLCONV *gss_verify_mic)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t, /* token_buffer */
gss_qop_t* /* qop_state */
);
- OM_uint32 (*gss_wrap)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
int*, /* conf_state */
gss_buffer_t /* output_message_buffer */
);
- OM_uint32 (*gss_unwrap)
+ OM_uint32 (KRB5_CALLCONV *gss_unwrap)
(
OM_uint32*, /* minor_status */
gss_ctx_id_t, /* context_handle */
int*, /* conf_state */
gss_qop_t* /* qop_state */
);
- OM_uint32 (*gss_display_status)
+ OM_uint32 (KRB5_CALLCONV *gss_display_status)
(
OM_uint32*, /* minor_status */
OM_uint32, /* status_value */
OM_uint32*, /* message_context */
gss_buffer_t /* status_string */
);
- OM_uint32 (*gss_indicate_mechs)
+ OM_uint32 (KRB5_CALLCONV *gss_indicate_mechs)
(
OM_uint32*, /* minor_status */
gss_OID_set* /* mech_set */
);
- OM_uint32 (*gss_compare_name)
+ OM_uint32 (KRB5_CALLCONV *gss_compare_name)
(
OM_uint32*, /* minor_status */
gss_name_t, /* name1 */
gss_name_t, /* name2 */
int* /* name_equal */
);
- OM_uint32 (*gss_display_name)
+ OM_uint32 (KRB5_CALLCONV *gss_display_name)
(
OM_uint32*, /* minor_status */
gss_name_t, /* input_name */
gss_buffer_t, /* output_name_buffer */
gss_OID* /* output_name_type */
);
- OM_uint32 (*gss_import_name)
+ OM_uint32 (KRB5_CALLCONV *gss_import_name)
(
OM_uint32*, /* minor_status */
gss_buffer_t, /* input_name_buffer */
gss_OID, /* input_name_type */
gss_name_t* /* output_name */
);
- OM_uint32 (*gss_release_name)
+ OM_uint32 (KRB5_CALLCONV *gss_release_name)
(
OM_uint32*, /* minor_status */
gss_name_t* /* input_name */
);
- OM_uint32 (*gss_inquire_cred)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_cred)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
int *, /* cred_usage */
gss_OID_set * /* mechanisms */
);
- OM_uint32 (*gss_add_cred)
+ OM_uint32 (KRB5_CALLCONV *gss_add_cred)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* input_cred_handle */
OM_uint32 *, /* initiator_time_rec */
OM_uint32 * /* acceptor_time_rec */
);
- OM_uint32 (*gss_export_sec_context)
+ OM_uint32 (KRB5_CALLCONV *gss_export_sec_context)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t *, /* context_handle */
gss_buffer_t /* interprocess_token */
);
- OM_uint32 (*gss_import_sec_context)
+ OM_uint32 (KRB5_CALLCONV *gss_import_sec_context)
(
OM_uint32 *, /* minor_status */
gss_buffer_t, /* interprocess_token */
gss_ctx_id_t * /* context_handle */
);
- OM_uint32 (*gss_inquire_cred_by_mech)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_cred_by_mech)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
OM_uint32 *, /* acceptor_lifetime */
gss_cred_usage_t * /* cred_usage */
);
- OM_uint32 (*gss_inquire_names_for_mech)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_names_for_mech)
(
OM_uint32 *, /* minor_status */
gss_OID, /* mechanism */
gss_OID_set * /* name_types */
);
- OM_uint32 (*gss_inquire_context)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_context)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int *, /* locally_initiated */
int * /* open */
);
- OM_uint32 (*gss_internal_release_oid)
+ OM_uint32 (KRB5_CALLCONV *gss_internal_release_oid)
(
OM_uint32 *, /* minor_status */
gss_OID * /* OID */
);
- OM_uint32 (*gss_wrap_size_limit)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_size_limit)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
OM_uint32, /* req_output_size */
OM_uint32 * /* max_input_size */
);
- OM_uint32 (*gss_pname_to_uid)
+ OM_uint32 (KRB5_CALLCONV *gss_pname_to_uid)
(
OM_uint32 *, /* minor */
const gss_name_t, /* name */
const gss_OID, /* mech_type */
uid_t * /* uid */
);
- OM_uint32 (*gssspi_authorize_localname)
+ OM_uint32 (KRB5_CALLCONV *gssspi_authorize_localname)
(
OM_uint32 *, /* minor_status */
const gss_name_t, /* pname */
gss_const_buffer_t, /* local user */
gss_const_OID /* local nametype */
/* */);
- OM_uint32 (*gss_export_name)
+ OM_uint32 (KRB5_CALLCONV *gss_export_name)
(
OM_uint32 *, /* minor_status */
const gss_name_t, /* input_name */
gss_buffer_t /* exported_name */
/* */);
- OM_uint32 (*gss_duplicate_name)
+ OM_uint32 (KRB5_CALLCONV *gss_duplicate_name)
(
OM_uint32*, /* minor_status */
const gss_name_t, /* input_name */
gss_name_t * /* output_name */
/* */);
- OM_uint32 (*gss_store_cred)
+ OM_uint32 (KRB5_CALLCONV *gss_store_cred)
(
OM_uint32 *, /* minor_status */
const gss_cred_id_t, /* input_cred */
/* GGF extensions */
- OM_uint32 (*gss_inquire_sec_context_by_oid)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_sec_context_by_oid)
(
OM_uint32 *, /* minor_status */
const gss_ctx_id_t, /* context_handle */
const gss_OID, /* OID */
gss_buffer_set_t * /* data_set */
);
- OM_uint32 (*gss_inquire_cred_by_oid)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_cred_by_oid)
(
OM_uint32 *, /* minor_status */
const gss_cred_id_t, /* cred_handle */
const gss_OID, /* OID */
gss_buffer_set_t * /* data_set */
);
- OM_uint32 (*gss_set_sec_context_option)
+ OM_uint32 (KRB5_CALLCONV *gss_set_sec_context_option)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t *, /* context_handle */
const gss_OID, /* OID */
const gss_buffer_t /* value */
);
- OM_uint32 (*gssspi_set_cred_option)
+ OM_uint32 (KRB5_CALLCONV *gssspi_set_cred_option)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t *, /* cred_handle */
const gss_OID, /* OID */
const gss_buffer_t /* value */
);
- OM_uint32 (*gssspi_mech_invoke)
+ OM_uint32 (KRB5_CALLCONV *gssspi_mech_invoke)
(
OM_uint32*, /* minor_status */
const gss_OID, /* mech OID */
);
/* AEAD extensions */
- OM_uint32 (*gss_wrap_aead)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_aead)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
gss_buffer_t /* output_message_buffer */
/* */);
- OM_uint32 (*gss_unwrap_aead)
+ OM_uint32 (KRB5_CALLCONV *gss_unwrap_aead)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
/* */);
/* SSPI extensions */
- OM_uint32 (*gss_wrap_iov)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_iov)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int /* iov_count */
/* */);
- OM_uint32 (*gss_unwrap_iov)
+ OM_uint32 (KRB5_CALLCONV *gss_unwrap_iov)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int /* iov_count */
/* */);
- OM_uint32 (*gss_wrap_iov_length)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_iov_length)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
int /* iov_count */
/* */);
- OM_uint32 (*gss_complete_auth_token)
+ OM_uint32 (KRB5_CALLCONV *gss_complete_auth_token)
(
OM_uint32*, /* minor_status */
const gss_ctx_id_t, /* context_handle */
/* New for 1.8 */
- OM_uint32 (*gss_acquire_cred_impersonate_name)
+ OM_uint32 (KRB5_CALLCONV *gss_acquire_cred_impersonate_name)
(
OM_uint32 *, /* minor_status */
const gss_cred_id_t, /* impersonator_cred_handle */
OM_uint32 * /* time_rec */
/* */);
- OM_uint32 (*gss_add_cred_impersonate_name)
+ OM_uint32 (KRB5_CALLCONV *gss_add_cred_impersonate_name)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* input_cred_handle */
OM_uint32 * /* acceptor_time_rec */
/* */);
- OM_uint32 (*gss_display_name_ext)
+ OM_uint32 (KRB5_CALLCONV *gss_display_name_ext)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_buffer_t /* display_name */
/* */);
- OM_uint32 (*gss_inquire_name)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_name)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_buffer_set_t * /* attrs */
/* */);
- OM_uint32 (*gss_get_name_attribute)
+ OM_uint32 (KRB5_CALLCONV *gss_get_name_attribute)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
int * /* more */
/* */);
- OM_uint32 (*gss_set_name_attribute)
+ OM_uint32 (KRB5_CALLCONV *gss_set_name_attribute)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_buffer_t /* value */
/* */);
- OM_uint32 (*gss_delete_name_attribute)
+ OM_uint32 (KRB5_CALLCONV *gss_delete_name_attribute)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_buffer_t /* attr */
/* */);
- OM_uint32 (*gss_export_name_composite)
+ OM_uint32 (KRB5_CALLCONV *gss_export_name_composite)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_buffer_t /* exp_composite_name */
/* */);
- OM_uint32 (*gss_map_name_to_any)
+ OM_uint32 (KRB5_CALLCONV *gss_map_name_to_any)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_any_t * /* output */
/* */);
- OM_uint32 (*gss_release_any_name_mapping)
+ OM_uint32 (KRB5_CALLCONV *gss_release_any_name_mapping)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
gss_any_t * /* input */
/* */);
- OM_uint32 (*gss_pseudo_random)
+ OM_uint32 (KRB5_CALLCONV *gss_pseudo_random)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context */
gss_buffer_t /* prf_out */
/* */);
- OM_uint32 (*gss_set_neg_mechs)
+ OM_uint32 (KRB5_CALLCONV *gss_set_neg_mechs)
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
const gss_OID_set /* mech_set */
/* */);
- OM_uint32 (*gss_inquire_saslname_for_mech)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_saslname_for_mech)
(
OM_uint32 *, /* minor_status */
const gss_OID, /* desired_mech */
gss_buffer_t /* mech_description */
/* */);
- OM_uint32 (*gss_inquire_mech_for_saslname)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_mech_for_saslname)
(
OM_uint32 *, /* minor_status */
const gss_buffer_t, /* sasl_mech_name */
gss_OID * /* mech_type */
/* */);
- OM_uint32 (*gss_inquire_attrs_for_mech)
+ OM_uint32 (KRB5_CALLCONV *gss_inquire_attrs_for_mech)
(
OM_uint32 *, /* minor_status */
gss_const_OID, /* mech */
* declarations of internal name mechanism functions
*/
-OM_uint32 spnego_gss_acquire_cred
+OM_uint32 KRB5_CALLCONV spnego_gss_acquire_cred
(
OM_uint32 *, /* minor_status */
gss_name_t, /* desired_name */
OM_uint32 * /* time_rec */
);
-OM_uint32 spnego_gss_release_cred
+OM_uint32 KRB5_CALLCONV spnego_gss_release_cred
(
OM_uint32 *, /* minor_status */
/* CSTYLED */
gss_cred_id_t * /* cred_handle */
);
-OM_uint32 spnego_gss_init_sec_context
+OM_uint32 KRB5_CALLCONV spnego_gss_init_sec_context
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* claimant_cred_handle */
);
#ifndef LEAN_CLIENT
-OM_uint32 spnego_gss_accept_sec_context
+OM_uint32 KRB5_CALLCONV spnego_gss_accept_sec_context
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t *, /* context_handle */
);
#endif /* LEAN_CLIENT */
-OM_uint32 spnego_gss_compare_name
+OM_uint32 KRB5_CALLCONV spnego_gss_compare_name
(
OM_uint32 *, /* minor_status */
const gss_name_t, /* name1 */
int * /* name_equal */
);
-OM_uint32 spnego_gss_display_name
+OM_uint32 KRB5_CALLCONV spnego_gss_display_name
(
OM_uint32 *, /* minor_status */
gss_name_t, /* input_name */
gss_OID * /* output_name_type */
);
-OM_uint32 spnego_gss_display_status
+OM_uint32 KRB5_CALLCONV spnego_gss_display_status
(
OM_uint32 *, /* minor_status */
OM_uint32, /* status_value */
gss_buffer_t /* status_string */
);
-OM_uint32 spnego_gss_import_name
+OM_uint32 KRB5_CALLCONV spnego_gss_import_name
(
OM_uint32 *, /* minor_status */
gss_buffer_t, /* input_name_buffer */
gss_name_t * /* output_name */
);
-OM_uint32 spnego_gss_release_name
+OM_uint32 KRB5_CALLCONV spnego_gss_release_name
(
OM_uint32 *, /* minor_status */
/* CSTYLED */
gss_name_t * /* input_name */
);
-OM_uint32 spnego_gss_duplicate_name
+OM_uint32 KRB5_CALLCONV spnego_gss_duplicate_name
(
OM_uint32 *, /* minor_status */
/* CSTYLED */
gss_name_t * /* output_name */
);
-OM_uint32 spnego_gss_inquire_cred
+OM_uint32 KRB5_CALLCONV spnego_gss_inquire_cred
(
OM_uint32 *, /* minor_status */
gss_cred_id_t, /* cred_handle */
gss_OID_set * /* mechanisms */
);
-OM_uint32 spnego_gss_inquire_names_for_mech
+OM_uint32 KRB5_CALLCONV spnego_gss_inquire_names_for_mech
(
OM_uint32 *, /* minor_status */
gss_OID, /* mechanism */
gss_OID_set * /* name_types */
);
-OM_uint32 spnego_gss_unwrap
+OM_uint32 KRB5_CALLCONV spnego_gss_unwrap
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_qop_t *qop_state
);
-OM_uint32 spnego_gss_wrap
+OM_uint32 KRB5_CALLCONV spnego_gss_wrap
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_buffer_t output_message_buffer
);
-OM_uint32 spnego_gss_process_context_token
+OM_uint32 KRB5_CALLCONV spnego_gss_process_context_token
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_buffer_t token_buffer
);
-OM_uint32 spnego_gss_delete_sec_context
+OM_uint32 KRB5_CALLCONV spnego_gss_delete_sec_context
(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token
);
-OM_uint32 spnego_gss_context_time
+OM_uint32 KRB5_CALLCONV spnego_gss_context_time
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
OM_uint32 *time_rec
);
#ifndef LEAN_CLIENT
-OM_uint32 spnego_gss_export_sec_context
+OM_uint32 KRB5_CALLCONV spnego_gss_export_sec_context
(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t interprocess_token
);
-OM_uint32 spnego_gss_import_sec_context
+OM_uint32 KRB5_CALLCONV spnego_gss_import_sec_context
(
OM_uint32 *minor_status,
const gss_buffer_t interprocess_token,
);
#endif /* LEAN_CLIENT */
-OM_uint32 spnego_gss_inquire_context
+OM_uint32 KRB5_CALLCONV spnego_gss_inquire_context
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
int *opened
);
-OM_uint32 spnego_gss_wrap_size_limit
+OM_uint32 KRB5_CALLCONV spnego_gss_wrap_size_limit
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
OM_uint32 *max_input_size
);
-OM_uint32 spnego_gss_get_mic
+OM_uint32 KRB5_CALLCONV spnego_gss_get_mic
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
gss_buffer_t message_token
);
-OM_uint32 spnego_gss_verify_mic
+OM_uint32 KRB5_CALLCONV spnego_gss_verify_mic
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
);
OM_uint32
-spnego_gss_inquire_sec_context_by_oid
+KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
);
OM_uint32
-spnego_gss_inquire_cred_by_oid
+KRB5_CALLCONV spnego_gss_inquire_cred_by_oid
(
OM_uint32 *minor_status,
const gss_cred_id_t cred_handle,
);
OM_uint32
-spnego_gss_set_cred_option
+KRB5_CALLCONV spnego_gss_set_cred_option
(
OM_uint32 *minor_status,
gss_cred_id_t *cred_handle,
);
OM_uint32
-spnego_gss_set_sec_context_option
+KRB5_CALLCONV spnego_gss_set_sec_context_option
(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_mechanism KRB5_CALLCONV gss_mech_initialize(void);
#endif /* _GSS_STATIC_LINK */
-OM_uint32 spnego_gss_wrap_aead
+OM_uint32 KRB5_CALLCONV spnego_gss_wrap_aead
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_buffer_t output_message_buffer
);
-OM_uint32 spnego_gss_unwrap_aead
+OM_uint32 KRB5_CALLCONV spnego_gss_unwrap_aead
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_qop_t *qop_state
);
-OM_uint32 spnego_gss_wrap_iov
+OM_uint32 KRB5_CALLCONV spnego_gss_wrap_iov
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int iov_count
);
-OM_uint32 spnego_gss_unwrap_iov
+OM_uint32 KRB5_CALLCONV spnego_gss_unwrap_iov
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int iov_count
);
-OM_uint32 spnego_gss_wrap_iov_length
+OM_uint32 KRB5_CALLCONV spnego_gss_wrap_iov_length
(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
);
OM_uint32
-spnego_gss_complete_auth_token
+KRB5_CALLCONV spnego_gss_complete_auth_token
(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
);
OM_uint32
-spnego_gss_acquire_cred_impersonate_name(
+KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(
OM_uint32 *, /* minor_status */
const gss_cred_id_t, /* impersonator_cred_handle */
const gss_name_t, /* desired_name */
OM_uint32 *); /* time_rec */
OM_uint32
-spnego_gss_acquire_cred_with_password(
+KRB5_CALLCONV spnego_gss_acquire_cred_with_password(
OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
OM_uint32 *time_rec);
OM_uint32
-spnego_gss_display_name_ext
+KRB5_CALLCONV spnego_gss_display_name_ext
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_inquire_name
+KRB5_CALLCONV spnego_gss_inquire_name
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_get_name_attribute
+KRB5_CALLCONV spnego_gss_get_name_attribute
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_set_name_attribute
+KRB5_CALLCONV spnego_gss_set_name_attribute
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_delete_name_attribute
+KRB5_CALLCONV spnego_gss_delete_name_attribute
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_export_name_composite
+KRB5_CALLCONV spnego_gss_export_name_composite
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_map_name_to_any
+KRB5_CALLCONV spnego_gss_map_name_to_any
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_release_any_name_mapping
+KRB5_CALLCONV spnego_gss_release_any_name_mapping
(
OM_uint32 *minor_status,
gss_name_t name,
);
OM_uint32
-spnego_gss_pseudo_random
+KRB5_CALLCONV spnego_gss_pseudo_random
(
OM_uint32 *minor_status,
gss_ctx_id_t context,
);
OM_uint32
-spnego_gss_set_neg_mechs
+KRB5_CALLCONV spnego_gss_set_neg_mechs
(
OM_uint32 *minor_status,
gss_cred_id_t cred_handle,
);
OM_uint32
-spnego_gss_inquire_mech_for_saslname
+KRB5_CALLCONV spnego_gss_inquire_mech_for_saslname
(
OM_uint32 *minor_status,
const gss_buffer_t sasl_mech_name,
);
OM_uint32
-spnego_gss_inquire_saslname_for_mech
+KRB5_CALLCONV spnego_gss_inquire_saslname_for_mech
(
OM_uint32 *minor_status,
const gss_OID desired_mech,
);
OM_uint32
-spnego_gss_inquire_attrs_for_mech
+KRB5_CALLCONV spnego_gss_inquire_attrs_for_mech
(
OM_uint32 *minor_status,
gss_const_OID mech,
/*ARGSUSED*/
OM_uint32
-spnego_gss_acquire_cred(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_acquire_cred(OM_uint32 *minor_status,
gss_name_t desired_name,
OM_uint32 time_req,
gss_OID_set desired_mechs,
/*ARGSUSED*/
OM_uint32
-spnego_gss_release_cred(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_release_cred(OM_uint32 *minor_status,
gss_cred_id_t *cred_handle)
{
spnego_gss_cred_id_t spcred = NULL;
/*ARGSUSED*/
OM_uint32
-spnego_gss_init_sec_context(
+KRB5_CALLCONV spnego_gss_init_sec_context(
OM_uint32 *minor_status,
gss_cred_id_t claimant_cred_handle,
gss_ctx_id_t *context_handle,
/*ARGSUSED*/
OM_uint32
-spnego_gss_accept_sec_context(
+KRB5_CALLCONV spnego_gss_accept_sec_context(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_cred_id_t verifier_cred_handle,
/*ARGSUSED*/
OM_uint32
-spnego_gss_display_status(
+KRB5_CALLCONV spnego_gss_display_status(
OM_uint32 *minor_status,
OM_uint32 status_value,
int status_type,
/*ARGSUSED*/
OM_uint32
-spnego_gss_import_name(
+KRB5_CALLCONV spnego_gss_import_name(
OM_uint32 *minor_status,
gss_buffer_t input_name_buffer,
gss_OID input_name_type,
/*ARGSUSED*/
OM_uint32
-spnego_gss_release_name(
+KRB5_CALLCONV spnego_gss_release_name(
OM_uint32 *minor_status,
gss_name_t *input_name)
{
/*ARGSUSED*/
OM_uint32
-spnego_gss_duplicate_name(
+KRB5_CALLCONV spnego_gss_duplicate_name(
OM_uint32 *minor_status,
const gss_name_t input_name,
gss_name_t *output_name)
}
OM_uint32
-spnego_gss_inquire_cred(
+KRB5_CALLCONV spnego_gss_inquire_cred(
OM_uint32 *minor_status,
gss_cred_id_t cred_handle,
gss_name_t *name,
/*ARGSUSED*/
OM_uint32
-spnego_gss_compare_name(
+KRB5_CALLCONV spnego_gss_compare_name(
OM_uint32 *minor_status,
const gss_name_t name1,
const gss_name_t name2,
/*ARGSUSED*/
/*ARGSUSED*/
OM_uint32
-spnego_gss_display_name(
+KRB5_CALLCONV spnego_gss_display_name(
OM_uint32 *minor_status,
gss_name_t input_name,
gss_buffer_t output_name_buffer,
/*ARGSUSED*/
OM_uint32
-spnego_gss_inquire_names_for_mech(
+KRB5_CALLCONV spnego_gss_inquire_names_for_mech(
OM_uint32 *minor_status,
gss_OID mechanism,
gss_OID_set *name_types)
}
OM_uint32
-spnego_gss_unwrap(
+KRB5_CALLCONV spnego_gss_unwrap(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_buffer_t input_message_buffer,
}
OM_uint32
-spnego_gss_wrap(
+KRB5_CALLCONV spnego_gss_wrap(
OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
}
OM_uint32
-spnego_gss_process_context_token(
+KRB5_CALLCONV spnego_gss_process_context_token(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_buffer_t token_buffer)
}
OM_uint32
-spnego_gss_delete_sec_context(
+KRB5_CALLCONV spnego_gss_delete_sec_context(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t output_token)
}
OM_uint32
-spnego_gss_context_time(
+KRB5_CALLCONV spnego_gss_context_time(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
OM_uint32 *time_rec)
}
#ifndef LEAN_CLIENT
OM_uint32
-spnego_gss_export_sec_context(
+KRB5_CALLCONV spnego_gss_export_sec_context(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
gss_buffer_t interprocess_token)
}
OM_uint32
-spnego_gss_import_sec_context(
+KRB5_CALLCONV spnego_gss_import_sec_context(
OM_uint32 *minor_status,
const gss_buffer_t interprocess_token,
gss_ctx_id_t *context_handle)
#endif /* LEAN_CLIENT */
OM_uint32
-spnego_gss_inquire_context(
+KRB5_CALLCONV spnego_gss_inquire_context(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
gss_name_t *src_name,
}
OM_uint32
-spnego_gss_wrap_size_limit(
+KRB5_CALLCONV spnego_gss_wrap_size_limit(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
int conf_req_flag,
}
OM_uint32
-spnego_gss_get_mic(
+KRB5_CALLCONV spnego_gss_get_mic(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
gss_qop_t qop_req,
}
OM_uint32
-spnego_gss_verify_mic(
+KRB5_CALLCONV spnego_gss_verify_mic(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_buffer_t msg_buffer,
}
OM_uint32
-spnego_gss_inquire_sec_context_by_oid(
+KRB5_CALLCONV spnego_gss_inquire_sec_context_by_oid(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_OID desired_object,
}
OM_uint32
-spnego_gss_inquire_cred_by_oid(
+KRB5_CALLCONV spnego_gss_inquire_cred_by_oid(
OM_uint32 *minor_status,
const gss_cred_id_t cred_handle,
const gss_OID desired_object,
}
OM_uint32
-spnego_gss_set_cred_option(
+KRB5_CALLCONV spnego_gss_set_cred_option(
OM_uint32 *minor_status,
gss_cred_id_t *cred_handle,
const gss_OID desired_object,
}
OM_uint32
-spnego_gss_set_sec_context_option(
+KRB5_CALLCONV spnego_gss_set_sec_context_option(
OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
const gss_OID desired_object,
}
OM_uint32
-spnego_gss_wrap_aead(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_wrap_aead(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
gss_qop_t qop_req,
}
OM_uint32
-spnego_gss_unwrap_aead(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_unwrap_aead(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
gss_buffer_t input_message_buffer,
gss_buffer_t input_assoc_buffer,
}
OM_uint32
-spnego_gss_wrap_iov(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_wrap_iov(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
gss_qop_t qop_req,
}
OM_uint32
-spnego_gss_unwrap_iov(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_unwrap_iov(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int *conf_state,
gss_qop_t *qop_state,
}
OM_uint32
-spnego_gss_wrap_iov_length(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_wrap_iov_length(OM_uint32 *minor_status,
gss_ctx_id_t context_handle,
int conf_req_flag,
gss_qop_t qop_req,
OM_uint32
-spnego_gss_complete_auth_token(
+KRB5_CALLCONV spnego_gss_complete_auth_token(
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
gss_buffer_t input_message_buffer)
}
OM_uint32
-spnego_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
const gss_cred_id_t impersonator_cred_handle,
const gss_name_t desired_name,
OM_uint32 time_req,
}
OM_uint32
-spnego_gss_acquire_cred_with_password(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_acquire_cred_with_password(OM_uint32 *minor_status,
const gss_name_t desired_name,
const gss_buffer_t password,
OM_uint32 time_req,
}
OM_uint32
-spnego_gss_display_name_ext(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_display_name_ext(OM_uint32 *minor_status,
gss_name_t name,
gss_OID display_as_name_type,
gss_buffer_t display_name)
OM_uint32
-spnego_gss_inquire_name(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_inquire_name(OM_uint32 *minor_status,
gss_name_t name,
int *name_is_MN,
gss_OID *MN_mech,
}
OM_uint32
-spnego_gss_get_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_get_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr,
int *authenticated,
}
OM_uint32
-spnego_gss_set_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_set_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
int complete,
gss_buffer_t attr,
}
OM_uint32
-spnego_gss_delete_name_attribute(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_delete_name_attribute(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t attr)
{
}
OM_uint32
-spnego_gss_export_name_composite(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_export_name_composite(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t exp_composite_name)
{
}
OM_uint32
-spnego_gss_map_name_to_any(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_map_name_to_any(OM_uint32 *minor_status,
gss_name_t name,
int authenticated,
gss_buffer_t type_id,
}
OM_uint32
-spnego_gss_release_any_name_mapping(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_release_any_name_mapping(OM_uint32 *minor_status,
gss_name_t name,
gss_buffer_t type_id,
gss_any_t *input)
}
OM_uint32
-spnego_gss_pseudo_random(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_pseudo_random(OM_uint32 *minor_status,
gss_ctx_id_t context,
int prf_key,
const gss_buffer_t prf_in,
}
OM_uint32
-spnego_gss_set_neg_mechs(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_set_neg_mechs(OM_uint32 *minor_status,
gss_cred_id_t cred_handle,
const gss_OID_set mech_list)
{
#define SPNEGO_SASL_NAME_LEN (sizeof(SPNEGO_SASL_NAME) - 1)
OM_uint32
-spnego_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_inquire_mech_for_saslname(OM_uint32 *minor_status,
const gss_buffer_t sasl_mech_name,
gss_OID *mech_type)
{
}
OM_uint32
-spnego_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_inquire_saslname_for_mech(OM_uint32 *minor_status,
const gss_OID desired_mech,
gss_buffer_t sasl_mech_name,
gss_buffer_t mech_name,
}
OM_uint32
-spnego_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
+KRB5_CALLCONV spnego_gss_inquire_attrs_for_mech(OM_uint32 *minor_status,
gss_const_OID mech,
gss_OID_set *mech_attrs,
gss_OID_set *known_mech_attrs)