Fix calling conventions for Windows

This commit is contained in:
Asanka Herath
2010-06-28 12:17:05 -04:00
parent 12638c01a9
commit 5dcc605f6b
141 changed files with 573 additions and 538 deletions

View File

@@ -64,7 +64,7 @@ _gss_ntlm_allocate_ctx(OM_uint32 *minor_status, ntlm_ctx *ctx)
*
*/
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_accept_sec_context
(OM_uint32 * minor_status,
gss_ctx_id_t * context_handle,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_acquire_cred
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_acquire_cred
(OM_uint32 * min_stat,
const gss_name_t desired_name,
OM_uint32 time_req,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_add_cred (
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_add_cred (
OM_uint32 *minor_status,
const gss_cred_id_t input_cred_handle,
const gss_name_t desired_name,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_canonicalize_name (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_canonicalize_name (
OM_uint32 * minor_status,
const gss_name_t input_name,
const gss_OID mech_type,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_compare_name
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_compare_name
(OM_uint32 * minor_status,
const gss_name_t name1,
const gss_name_t name2,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_context_time
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_context_time
(OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
OM_uint32 * time_rec

View File

@@ -260,7 +260,8 @@ v2_unseal_message(gss_buffer_t in,
*
*/
OM_uint32 _gss_ntlm_get_mic
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_get_mic
(OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
gss_qop_t qop_req,
@@ -334,7 +335,7 @@ OM_uint32 _gss_ntlm_get_mic
*
*/
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_verify_mic
(OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
@@ -420,7 +421,7 @@ _gss_ntlm_verify_mic
*
*/
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_wrap_size_limit (
OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
@@ -451,7 +452,8 @@ _gss_ntlm_wrap_size_limit (
*
*/
OM_uint32 _gss_ntlm_wrap
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_wrap
(OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
int conf_req_flag,
@@ -521,7 +523,8 @@ OM_uint32 _gss_ntlm_wrap
*
*/
OM_uint32 _gss_ntlm_unwrap
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_unwrap
(OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
const gss_buffer_t input_message_buffer,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_delete_sec_context
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_delete_sec_context
(OM_uint32 * minor_status,
gss_ctx_id_t * context_handle,
gss_buffer_t output_token

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_display_name
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_display_name
(OM_uint32 * minor_status,
const gss_name_t input_name,
gss_buffer_t output_name_buffer,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_display_status
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_display_status
(OM_uint32 *minor_status,
OM_uint32 status_value,
int status_type,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_duplicate_name (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_duplicate_name (
OM_uint32 * minor_status,
const gss_name_t src_name,
gss_name_t * dest_name

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_export_name
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_export_name
(OM_uint32 * minor_status,
const gss_name_t input_name,
gss_buffer_t exported_name

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_export_sec_context (
OM_uint32 * minor_status,
gss_ctx_id_t * context_handle,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_import_name
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_import_name
(OM_uint32 * minor_status,
const gss_buffer_t input_name_buffer,
const gss_OID input_name_type,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_import_sec_context (
OM_uint32 * minor_status,
const gss_buffer_t interprocess_token,

View File

@@ -213,7 +213,7 @@ _gss_copy_cred(ntlm_cred from, ntlm_cred *to)
return 0;
}
OM_uint32
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_init_sec_context
(OM_uint32 * minor_status,
const gss_cred_id_t initiator_cred_handle,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_inquire_context (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_inquire_context (
OM_uint32 * minor_status,
const gss_ctx_id_t context_handle,
gss_name_t * src_name,

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_inquire_cred
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_inquire_cred
(OM_uint32 * minor_status,
const gss_cred_id_t cred_handle,
gss_name_t * name,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_inquire_cred_by_mech (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_inquire_cred_by_mech (
OM_uint32 * minor_status,
const gss_cred_id_t cred_handle,
const gss_OID mech_type,

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_inquire_mechs_for_name (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_inquire_mechs_for_name (
OM_uint32 * minor_status,
const gss_name_t input_name,
gss_OID_set * mech_types

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_inquire_names_for_mech (
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_inquire_names_for_mech (
OM_uint32 * minor_status,
const gss_OID mechanism,
gss_OID_set * name_types

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_process_context_token (
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_process_context_token (
OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,
const gss_buffer_t token_buffer

View File

@@ -33,7 +33,7 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_release_cred
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_release_cred
(OM_uint32 * minor_status,
gss_cred_id_t * cred_handle
)

View File

@@ -33,7 +33,8 @@
#include "ntlm.h"
OM_uint32 _gss_ntlm_release_name
OM_uint32 GSSAPI_CALLCONV
_gss_ntlm_release_name
(OM_uint32 * minor_status,
gss_name_t * input_name
)