/*
 *   Copyright ©1997 by the Massachusetts Institute of Technology
 *   All rights reserved.
 */

#include <KrbDriver.h>
#include <KClient.h>

extern char *krb_get_err_text(int status);
#define HAVE_KRB_GET_ERR_TEXT

extern	KClientSessionInfo	KSession;

/*
 * In order to get CVS to build right we need to provide some things from 
 * krb.h, because we are pretending to use MIT krb v4 interface
 */

/* Defines for krb_sendauth and krb_recvauth */

#define	KOPT_DO_MUTUAL   0x00000002 /* do mutual auth */

/* General definitions */
#define		KSUCCESS	0
#define		KFAILURE	255

/* Text describing error codes */
//#define		MAX_KRB_ERRORS	256
//extern char *krb_err_txt[MAX_KRB_ERRORS];

/* function prototypes from sendauth.c */
int krb_sendauth(long options, int fd, KTEXT ticket, char *service, 
                 char *inst, char *realm, u_long checksum, MSG_DAT *msg_data, 
		 CREDENTIALS *cred, Key_schedule schedule, 
		 struct sockaddr_in *laddr, struct sockaddr_in *faddr, 
		 char *version);
