#ifndef _UTIL_H_
#define _UTIL_H_ 1
+#if defined(HAVE_SYS_PARAM_H)
#include <sys/param.h>
+#endif
#include <string.h>
#include <errno.h>
#include <krb5.h>
+///#if defined(HAVE_STDINT_H)
+///#include <stdint.h>
+///#endif
+
+///#if defined(WIN32)
+///#define INLINE __inline
+///#else
+///#define INLINE inline
+///#endif
+
+#if defined(WIN32)
+#define inline __inline
+#endif
+
+
#ifdef __cplusplus
extern "C" {
#endif
int gssEapCredAvailable(gss_cred_id_t cred, gss_OID mech);
+OM_uint32
+gssEapInquireCred(OM_uint32 *minor,
+ gss_cred_id_t cred,
+ gss_name_t *name,
+ OM_uint32 *pLifetime,
+ gss_cred_usage_t *cred_usage,
+ gss_OID_set *mechanisms);
+
/* util_crypt.c */
int
gssEapEncrypt(krb5_context context, int dce_style, size_t ec,
}
#endif
+#ifdef GSSEAP_ENABLE_ACCEPTOR
#include "util_json.h"
#include "util_attr.h"
+#endif
#include "util_base64.h"
#ifdef GSSEAP_ENABLE_REAUTH
#include "util_reauth.h"