#ifndef KClientTypes_h
#define KClientTypes_h
#if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__))
# include <TargetConditionals.h>
# include <AvailabilityMacros.h>
# if TARGET_RT_MAC_CFM
# error "Use KfM 4.0 SDK headers for CFM compilation."
# endif
#endif
#ifndef DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER
#endif
#if TARGET_OS_MAC
# include <Kerberos/des.h>
# include <CoreServices/CoreServices.h>
#else
# include <kerberosIV/des.h>
# include <CoreServices.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if TARGET_OS_MAC
# pragma pack(push,2)
#endif
enum {
KClientLocalName,
KClientCommonName,
KClientFullName
};
struct KClientSessionOpaque;
typedef struct KClientSessionOpaque* KClientSession
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
struct KClientPrincipalOpaque;
typedef struct KClientPrincipalOpaque* KClientPrincipal
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
typedef FSSpec KClientFile
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
struct KClientAddress {
UInt32 address;
UInt16 port;
};
typedef struct KClientAddress KClientAddress
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
struct KClientKey {
des_cblock key;
};
typedef struct KClientKey KClientKey
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
struct KClientKeySchedule {
des_key_schedule keySchedule;
};
typedef struct KClientKeySchedule KClientKeySchedule
DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
#if TARGET_OS_MAC
# pragma pack(pop)
#endif
#ifdef __cplusplus
}
#endif
#endif