xref: /onnv-gate/usr/src/cmd/krb5/slave/kprop.h (revision 2881:ea6360e7e1c5)
10Sstevel@tonic-gate /*
2*2881Smp153739  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
30Sstevel@tonic-gate  * Use is subject to license terms.
40Sstevel@tonic-gate  */
50Sstevel@tonic-gate 
60Sstevel@tonic-gate #ifndef _KPROP_H
70Sstevel@tonic-gate #define	_KPROP_H
80Sstevel@tonic-gate 
90Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
100Sstevel@tonic-gate 
110Sstevel@tonic-gate #ifdef	__cplusplus
120Sstevel@tonic-gate extern "C" {
130Sstevel@tonic-gate #endif
140Sstevel@tonic-gate 
150Sstevel@tonic-gate /*
160Sstevel@tonic-gate  * slave/kprop.h
170Sstevel@tonic-gate  *
180Sstevel@tonic-gate  * Copyright 1990,1991 by the Massachusetts Institute of Technology.
190Sstevel@tonic-gate  * All Rights Reserved.
200Sstevel@tonic-gate  *
210Sstevel@tonic-gate  * Export of this software from the United States of America may
220Sstevel@tonic-gate  *   require a specific license from the United States Government.
230Sstevel@tonic-gate  *   It is the responsibility of any person or organization contemplating
240Sstevel@tonic-gate  *   export to obtain such a license before exporting.
25*2881Smp153739  *
260Sstevel@tonic-gate  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
270Sstevel@tonic-gate  * distribute this software and its documentation for any purpose and
280Sstevel@tonic-gate  * without fee is hereby granted, provided that the above copyright
290Sstevel@tonic-gate  * notice appear in all copies and that both that copyright notice and
300Sstevel@tonic-gate  * this permission notice appear in supporting documentation, and that
310Sstevel@tonic-gate  * the name of M.I.T. not be used in advertising or publicity pertaining
320Sstevel@tonic-gate  * to distribution of the software without specific, written prior
330Sstevel@tonic-gate  * permission.  Furthermore if you modify this software you must label
340Sstevel@tonic-gate  * your software as modified software and not distribute it in such a
350Sstevel@tonic-gate  * fashion that it might be confused with the original M.I.T. software.
360Sstevel@tonic-gate  * M.I.T. makes no representations about the suitability of
370Sstevel@tonic-gate  * this software for any purpose.  It is provided "as is" without express
380Sstevel@tonic-gate  * or implied warranty.
39*2881Smp153739  *
400Sstevel@tonic-gate  *
410Sstevel@tonic-gate  */
420Sstevel@tonic-gate 
43*2881Smp153739 #define KPROP_SERVICE_NAME "host"
44*2881Smp153739 #define TGT_SERVICE_NAME "krbtgt"
45*2881Smp153739 #define KPROP_SERVICE "krb5_prop"
460Sstevel@tonic-gate 
47*2881Smp153739 #define KPROP_PROT_VERSION "kprop5_01"
480Sstevel@tonic-gate 
49*2881Smp153739 #define KPROP_BUFSIZ 32768
500Sstevel@tonic-gate 
510Sstevel@tonic-gate extern krb5_address *cvtkaddr(struct sockaddr_storage *ss, krb5_address *krbap);
520Sstevel@tonic-gate 
530Sstevel@tonic-gate /* pathnames are in osconf.h, included via k5-int.h */
540Sstevel@tonic-gate 
550Sstevel@tonic-gate #ifdef	__cplusplus
560Sstevel@tonic-gate }
570Sstevel@tonic-gate #endif
580Sstevel@tonic-gate 
590Sstevel@tonic-gate #endif	/* !_KPROP_H */
60