@@ -387,22 +387,22 @@ OM_uint32 KRB5_CALLCONV gss_release_any_name_mapping
/* draft-josefsson-gss-capsulate */
OM_uint32 KRB5_CALLCONV gss_encapsulate_token
(
- const gss_buffer_t, /* input_token */
- const gss_OID, /* token_oid */
- const gss_buffer_t /* output_token */
+ gss_const_buffer_t, /* input_token */
+ gss_const_OID, /* token_oid */
+ gss_buffer_t /* output_token */
);
OM_uint32 KRB5_CALLCONV gss_decapsulate_token
(
- const gss_buffer_t, /* input_token */
- const gss_OID, /* token_oid */
+ gss_const_buffer_t, /* input_token */
+ gss_const_OID, /* token_oid */
gss_buffer_t /* output_token */
);
int KRB5_CALLCONV gss_oid_equal
(
- const gss_OID, /* first_oid */
- const gss_OID /* second_oid */
+ gss_const_OID, /* first_oid */
+ gss_const_OID /* second_oid */
);
#ifdef __cplusplus
@@ -33,8 +33,8 @@
#include "mglueP.h"
OM_uint32
-gss_decapsulate_token(const gss_buffer_t input_token,
- const gss_OID token_oid,
+gss_decapsulate_token(gss_const_buffer_t input_token,
+ gss_const_OID token_oid,
gss_buffer_t output_token)
{
OM_uint32 minor;
@@ -33,8 +33,8 @@
#include "mglueP.h"
OM_uint32
-gss_encapsulate_token(const gss_buffer_t input_token,
- const gss_OID token_oid,
+gss_encapsulate_token(gss_const_buffer_t input_token,
+ gss_const_OID token_oid,
gss_buffer_t output_token)
{
unsigned int tokenSize;
@@ -111,8 +111,8 @@ gssint_copy_oid_set(
int
gss_oid_equal(
- const gss_OID first_oid,
- const gss_OID second_oid)
+ gss_const_OID first_oid,
+ gss_const_OID second_oid)
{
return g_OID_equal(first_oid, second_oid);
}