9#ifndef _SQUID_TOOLS_SQUIDCLIENT_GSSAPI_H
10#define _SQUID_TOOLS_SQUIDCLIENT_GSSAPI_H
14#define GSSKRB_APPLE_DEPRECATED(x)
18#if HAVE_GSSAPI_GSSAPI_H
19#include <gssapi/gssapi.h>
28#if HAVE_GSSAPI_GSSAPI_H
29#include <gssapi/gssapi.h>
33#if HAVE_GSSAPI_GSSAPI_KRB5_H
34#include <gssapi/gssapi_krb5.h>
36#if HAVE_GSSAPI_GSSAPI_GENERIC_H
37#include <gssapi/gssapi_generic.h>
39#if HAVE_GSSAPI_GSSAPI_EXT_H
40#include <gssapi/gssapi_ext.h>
44#ifndef gss_nt_service_name
45#define gss_nt_service_name GSS_C_NT_HOSTBASED_SERVICE
48bool check_gss_err(OM_uint32 major_status, OM_uint32 minor_status,
const char *function);
49char *GSSAPI_token(
const char *
server);
static char server[MAXLINE]
int check_gss_err(OM_uint32 major_status, OM_uint32 minor_status, const char *function, int log, int sout)