xref: /titanic_50/usr/src/cmd/krb5/slave/kprop.h (revision 0e42dee69ed771bf604dd1789fca9d77b5bbe302)
1 /*
2  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 #ifndef _KPROP_H
7 #define	_KPROP_H
8 
9 #pragma ident	"%Z%%M%	%I%	%E% SMI"
10 
11 #ifdef	__cplusplus
12 extern "C" {
13 #endif
14 
15 /*
16  * slave/kprop.h
17  *
18  * Copyright 1990,1991 by the Massachusetts Institute of Technology.
19  * All Rights Reserved.
20  *
21  * Export of this software from the United States of America may
22  *   require a specific license from the United States Government.
23  *   It is the responsibility of any person or organization contemplating
24  *   export to obtain such a license before exporting.
25  *
26  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
27  * distribute this software and its documentation for any purpose and
28  * without fee is hereby granted, provided that the above copyright
29  * notice appear in all copies and that both that copyright notice and
30  * this permission notice appear in supporting documentation, and that
31  * the name of M.I.T. not be used in advertising or publicity pertaining
32  * to distribution of the software without specific, written prior
33  * permission.  Furthermore if you modify this software you must label
34  * your software as modified software and not distribute it in such a
35  * fashion that it might be confused with the original M.I.T. software.
36  * M.I.T. makes no representations about the suitability of
37  * this software for any purpose.  It is provided "as is" without express
38  * or implied warranty.
39  *
40  *
41  */
42 
43 #define	KPROP_SERVICE_NAME "host"
44 #define	TGT_SERVICE_NAME "krbtgt"
45 #define	KPROP_SERVICE "krb5_prop"
46 #define	KPROP_CKSUMTYPE CKSUMTYPE_RSA_MD4_DES
47 
48 #define	KPROP_PROT_VERSION "kprop5_01"
49 
50 #define	KPROP_BUFSIZ 32768
51 
52 extern krb5_address *cvtkaddr(struct sockaddr_storage *ss, krb5_address *krbap);
53 
54 /* pathnames are in osconf.h, included via k5-int.h */
55 
56 #ifdef	__cplusplus
57 }
58 #endif
59 
60 #endif	/* !_KPROP_H */
61