4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
38 #include <profile/prof_int.h>
44 #define RDIST_BUFSIZ (50 * 1024)
46 extern krb5_context bsd_context
;
47 extern krb5_auth_context auth_context
;
48 extern krb5_flags authopts
;
49 extern char *krb_cache
;
50 extern krb5_creds
*cred
;
51 extern krb5_error_code status
;
52 extern char des_inbuf
[2 * RDIST_BUFSIZ
]; /* needs to be > largest read size */
53 extern char des_outbuf
[2 * RDIST_BUFSIZ
]; /* needs to be > largest write size */
54 extern krb5_data desinbuf
, desoutbuf
;
55 extern krb5_encrypt_block eblock
; /* eblock for encrypt/decrypt */
56 extern int encrypt_flag
; /* Flag set, when encryption is enabled */
57 extern int krb5auth_flag
; /* Flag set, when KERBEROS is enabled */
58 extern int debug_port
;
59 extern enum kcmd_proto kcmd_proto
;
61 extern char *krb_realm
;
63 static krb5_keyblock
*session_key
;
69 #endif /* _KRB5DEFS_H */