KClientDeprecated.h [plain text]
#ifndef __KCLIENTDEPRECATED__
#define __KCLIENTDEPRECATED__
#if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__))
# include <TargetConditionals.h>
# if TARGET_RT_MAC_CFM
# error "Use KfM 4.0 SDK headers for CFM compilation."
# endif
#endif
#if TARGET_OS_MAC
# include <Kerberos/krb.h>
# include <Kerberos/KClientTypes.h>
#else
# include <kerberosIV/krb.h>
# include <KClientTypes.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if TARGET_OS_MAC
# if defined(__MWERKS__)
# pragma import on
# endif
# pragma options align=mac68k
#endif
#define kKClientMaxErrorTextLength 512
OSStatus
KClientCacheInitialTicketDeprecated (
KClientSession* inSession,
char* inService);
OSStatus KClientGetLocalRealmDeprecated (
char* outRealm);
OSStatus KClientSetLocalRealmDeprecated (
const char* inRealm);
OSStatus KClientGetRealmDeprecated (
const char* inHost,
char* outRealm);
OSStatus KClientAddRealmMapDeprecated (
char* inHost,
char* inRealm);
OSStatus KClientDeleteRealmMapDeprecated (
char* inHost);
OSStatus KClientGetNthRealmMapDeprecated (
SInt32 inIndex,
char* outHost,
char* outRealm);
OSStatus KClientGetNthServerDeprecated (
SInt32 inIndex,
char* outHost,
char* inRealm,
Boolean inAdmin);
OSStatus KClientAddServerMapDeprecated (
char* inHost,
char* inRealm,
Boolean inAdmin);
OSStatus KClientDeleteServerMapDeprecated (
char* inHost,
char* inRealm);
OSStatus KClientGetNthServerMapDeprecated (
SInt32 inIndex,
char* outHost,
char* outRealm,
Boolean* outAdmin);
OSStatus KClientGetNthServerPortDeprecated (
SInt32 inIndex,
UInt16* outPort);
OSStatus KClientSetNthServerPortDeprecated (
SInt32 inIndex,
UInt16 inPort);
OSStatus KClientGetNumSessionsDeprecated (
SInt32* outSessions);
OSStatus KClientGetNthSessionDeprecated (
SInt32 inIndex,
char* outName,
char* outInstance,
char* outRealm);
OSStatus KClientDeleteSessionDeprecated (
char* inName,
char* inInstance,
char* inRealm);
OSStatus KClientGetCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
CREDENTIALS* outCred);
OSStatus KClientAddCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
CREDENTIALS* inCred);
OSStatus KClientDeleteCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
char* inSname,
char* inSinstance,
char* inSrealm);
OSStatus KClientGetNumCredentialsDeprecated (
SInt32* outNumCredentials,
char* inName,
char* inInstance,
char* inRealm);
OSStatus
KClientGetNthCredentialDeprecated (
SInt32 inIndex,
char* inName,
char* inInstance,
char* inRealm,
char* inSname,
char* inSinstance,
char* inSrealm);
OSStatus
KClientGetUserNameDeprecated (
char* outUserName);
void
KClientGetErrorTextDeprecated (
OSErr inError,
char* outBuffer);
OSStatus
K5ClientGetTicketForServiceDeprecated (
char* inService,
void* outBuffer,
UInt32* outBufferLength);
OSStatus
K5ClientGetAuthenticatorForServiceDeprecated (
char* inService,
char* inApplicationVersion,
void* outBuffer,
UInt32* outBufferLength);
#if TARGET_OS_MAC
# if defined(__MWERKS__)
# pragma import reset
# endif
# pragma options align=reset
#endif
#ifdef __cplusplus
}
#endif
#endif