Imported Upstream version 1.15.1
[platform/upstream/krb5.git] / src / lib / gssapi / generic / gssapi.hin
index 15d685d..59cd93e 100644 (file)
@@ -52,6 +52,8 @@ extern "C" {
 #define KRB5_CALLCONV_C
 #endif
 
+#include <stdint.h>
+
 /*
  * First, include stddef.h to get size_t defined.
  */
@@ -272,6 +274,7 @@ typedef int             gss_cred_usage_t;
 #define GSS_S_BAD_BINDINGS (((OM_uint32) 4ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_BAD_STATUS (((OM_uint32) 5ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_BAD_SIG (((OM_uint32) 6ul) << GSS_C_ROUTINE_ERROR_OFFSET)
+#define GSS_S_BAD_MIC GSS_S_BAD_SIG
 #define GSS_S_NO_CRED (((OM_uint32) 7ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_NO_CONTEXT (((OM_uint32) 8ul) << GSS_C_ROUTINE_ERROR_OFFSET)
 #define GSS_S_DEFECTIVE_TOKEN (((OM_uint32) 9ul) << GSS_C_ROUTINE_ERROR_OFFSET)
@@ -838,9 +841,9 @@ gss_set_neg_mechs(
  */
 typedef const gss_buffer_desc *gss_const_buffer_t;
 typedef const struct gss_channel_bindings_struct *gss_const_channel_bindings_t;
-typedef const struct gss_ctx_id_struct gss_const_ctx_id_t;
-typedef const struct gss_cred_id_struct gss_const_cred_id_t;
-typedef const struct gss_name_struct gss_const_name_t;
+typedef const struct gss_ctx_id_struct *gss_const_ctx_id_t;
+typedef const struct gss_cred_id_struct *gss_const_cred_id_t;
+typedef const struct gss_name_struct *gss_const_name_t;
 typedef const gss_OID_desc *gss_const_OID;
 typedef const gss_OID_set_desc *gss_const_OID_set;