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