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 #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 47 #define KPROP_PROT_VERSION "kprop5_01" 48 49 #define KPROP_BUFSIZ 32768 50 51 extern krb5_address *cvtkaddr(struct sockaddr_storage *ss, krb5_address *krbap); 52 53 /* pathnames are in osconf.h, included via k5-int.h */ 54 55 #ifdef __cplusplus 56 } 57 #endif 58 59 #endif /* !_KPROP_H */ 60