KerberosLoginPrivate.h [plain text]
#ifndef __KERBEROSLOGINPRIVATE__
#define __KERBEROSLOGINPRIVATE__
#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
#include <Kerberos/KerberosLogin.h>
#include <CoreFoundation/CoreFoundation.h>
#include <Kerberos/krb5.h>
#ifdef __cplusplus
extern "C" {
#endif
#if TARGET_OS_MAC
# if defined(__MWERKS__)
# pragma import on
# endif
#endif
#define __KLInternalAcquireInitialTicketsForCache __KLAcquireInitialTicketsForCache
typedef krb5_error_code (*KLPrompterProcPtr) (krb5_context context,
void *data,
const char *name,
const char *banner,
int num_prompts,
krb5_prompt prompts[]);
extern KLStatus __KLChangePasswordWithPasswordsCompat (KLPrincipal inPrincipal,
const char *inOldPassword,
const char *inNewPassword);
extern KLStatus __KLAcquireInitialTicketsForCache (const KLPrincipal inPrincipal,
KLLoginOptions inLoginOptions,
const char *inCacheName,
KLKerberosVersion inKerberosVersion,
KLPrincipal *outPrincipal,
char **outCacheName);
extern void __KLSetApplicationPrompter (KLPrompterProcPtr inPrompter);
extern krb5_error_code __KLPrompter (krb5_context context,
void *data,
const char *name,
const char *banner,
int num_prompts,
krb5_prompt prompts[]);
extern krb5_get_init_creds_opt *__KLLoginOptionsGetKerberos5Options (KLLoginOptions ioOptions);
extern KLTime __KLLoginOptionsGetStartTime (KLLoginOptions ioOptions);
extern char * __KLLoginOptionsGetServiceName (KLLoginOptions ioOptions);
extern KLStatus __KLSetHomeDirectoryAccess (KLBoolean inAllowHomeDirectoryAccess);
extern KLBoolean __KLAllowHomeDirectoryAccess (void);
extern KLStatus __KLSetAutomaticPrompting (KLBoolean inAllowAutomaticPrompting);
extern KLBoolean __KLAllowAutomaticPrompting (void);
extern CFStringEncoding __KLApplicationGetTextEncoding (void);
#if TARGET_OS_MAC
# if defined(__MWERKS__)
# pragma import reset
# endif
#endif
#ifdef __cplusplus
}
#endif
#endif