import cyrus-sasl-2.1.23
[cyrus-sasl.git] / mac / CommonKClient / mac_kclient / kcglue_krb.h
1 /* $Id: kcglue_krb.h,v 1.2 2001/12/04 02:05:33 rjs3 Exp $
2  * mit kerberos and kclient include files are not compatable
3  * the define things with the same name but different implementations
4  * this is an interface that can be included with either kclient.h
5  * or krb.h.  It bridges between the two of them
6  */
7  
8 #define KCGLUE_ITEM_SIZE (40) /* name instance or realm size*/
9 #define KCGLUE_MAX_K_STR_LEN (KCGLUE_ITEM_SIZE*3+2) /* id.instance@realm */
10 #define KCGLUE_MAX_KTXT_LEN     1250
11
12 int kcglue_krb_mk_req(
13                 void *dat,
14                 int *len,
15                 const char *service,
16                 char *instance,
17                 char *realm, 
18                 long checksum,
19                 void *des_key,
20                 char *pname,
21                 char *pinst
22                 );
23