summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/mechglue/mglueP.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/gssapi/mechglue/mglueP.h')
-rw-r--r--src/lib/gssapi/mechglue/mglueP.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/src/lib/gssapi/mechglue/mglueP.h b/src/lib/gssapi/mechglue/mglueP.h
index 426b70c952..a0b3673f77 100644
--- a/src/lib/gssapi/mechglue/mglueP.h
+++ b/src/lib/gssapi/mechglue/mglueP.h
@@ -76,7 +76,7 @@ typedef struct gss_cred_id_struct {
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 */
@@ -119,7 +119,7 @@ OM_uint32 gssint_get_mech_type_oid(gss_OID OID, gss_buffer_t token);
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 */
@@ -130,12 +130,12 @@ typedef struct gss_config {
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 */
@@ -151,7 +151,7 @@ typedef struct gss_config {
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 */
@@ -165,25 +165,25 @@ typedef struct gss_config {
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 */
@@ -191,7 +191,7 @@ typedef struct gss_config {
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 */
@@ -199,7 +199,7 @@ typedef struct gss_config {
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 */
@@ -209,7 +209,7 @@ typedef struct gss_config {
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 */
@@ -218,7 +218,7 @@ typedef struct gss_config {
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 */
@@ -227,38 +227,38 @@ typedef struct gss_config {
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 */
@@ -267,7 +267,7 @@ typedef struct gss_config {
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 */
@@ -281,19 +281,19 @@ typedef struct gss_config {
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 */
@@ -303,13 +303,13 @@ typedef struct gss_config {
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 */
@@ -321,12 +321,12 @@ typedef struct gss_config {
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 */
@@ -335,33 +335,33 @@ typedef struct gss_config {
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 */
@@ -376,35 +376,35 @@ typedef struct gss_config {
/* 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 */
@@ -413,7 +413,7 @@ typedef struct gss_config {
);
/* AEAD extensions */
- OM_uint32 (*gss_wrap_aead)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_aead)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
@@ -425,7 +425,7 @@ typedef struct gss_config {
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 */
@@ -437,7 +437,7 @@ typedef struct gss_config {
/* */);
/* SSPI extensions */
- OM_uint32 (*gss_wrap_iov)
+ OM_uint32 (KRB5_CALLCONV *gss_wrap_iov)
(
OM_uint32 *, /* minor_status */
gss_ctx_id_t, /* context_handle */
@@ -448,7 +448,7 @@ typedef struct gss_config {
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 */
@@ -458,7 +458,7 @@ typedef struct gss_config {
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 */
@@ -469,7 +469,7 @@ typedef struct gss_config {
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 */
@@ -478,7 +478,7 @@ typedef struct gss_config {
/* 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 */
@@ -491,7 +491,7 @@ typedef struct gss_config {
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 */
@@ -507,7 +507,7 @@ typedef struct gss_config {
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 */
@@ -515,7 +515,7 @@ typedef struct gss_config {
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 */
@@ -524,7 +524,7 @@ typedef struct gss_config {
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 */
@@ -536,7 +536,7 @@ typedef struct gss_config {
int * /* more */
/* */);
- OM_uint32 (*gss_set_name_attribute)
+ OM_uint32 (KRB5_CALLCONV *gss_set_name_attribute)
(
OM_uint32 *, /* minor_status */
gss_name_t, /* name */
@@ -545,21 +545,21 @@ typedef struct gss_config {
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 */
@@ -568,7 +568,7 @@ typedef struct gss_config {
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 */
@@ -576,7 +576,7 @@ typedef struct gss_config {
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 */
@@ -586,14 +586,14 @@ typedef struct gss_config {
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 */
@@ -602,14 +602,14 @@ typedef struct gss_config {
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 */