xref: /onnv-gate/usr/src/cmd/krb5/krb5kdc/extern.c (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /*
2*0Sstevel@tonic-gate  * kdc/extern.c
3*0Sstevel@tonic-gate  *
4*0Sstevel@tonic-gate  * Copyright 1990 by the Massachusetts Institute of Technology.
5*0Sstevel@tonic-gate  *
6*0Sstevel@tonic-gate  * Export of this software from the United States of America may
7*0Sstevel@tonic-gate  *   require a specific license from the United States Government.
8*0Sstevel@tonic-gate  *   It is the responsibility of any person or organization contemplating
9*0Sstevel@tonic-gate  *   export to obtain such a license before exporting.
10*0Sstevel@tonic-gate  *
11*0Sstevel@tonic-gate  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
12*0Sstevel@tonic-gate  * distribute this software and its documentation for any purpose and
13*0Sstevel@tonic-gate  * without fee is hereby granted, provided that the above copyright
14*0Sstevel@tonic-gate  * notice appear in all copies and that both that copyright notice and
15*0Sstevel@tonic-gate  * this permission notice appear in supporting documentation, and that
16*0Sstevel@tonic-gate  * the name of M.I.T. not be used in advertising or publicity pertaining
17*0Sstevel@tonic-gate  * to distribution of the software without specific, written prior
18*0Sstevel@tonic-gate  * permission.  Furthermore if you modify this software you must label
19*0Sstevel@tonic-gate  * your software as modified software and not distribute it in such a
20*0Sstevel@tonic-gate  * fashion that it might be confused with the original M.I.T. software.
21*0Sstevel@tonic-gate  * M.I.T. makes no representations about the suitability of
22*0Sstevel@tonic-gate  * this software for any purpose.  It is provided "as is" without express
23*0Sstevel@tonic-gate  * or implied warranty.
24*0Sstevel@tonic-gate  *
25*0Sstevel@tonic-gate  *
26*0Sstevel@tonic-gate  * allocations of extern stuff
27*0Sstevel@tonic-gate  */
28*0Sstevel@tonic-gate 
29*0Sstevel@tonic-gate 
30*0Sstevel@tonic-gate 
31*0Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
32*0Sstevel@tonic-gate 
33*0Sstevel@tonic-gate #include "k5-int.h"
34*0Sstevel@tonic-gate #include "extern.h"
35*0Sstevel@tonic-gate 
36*0Sstevel@tonic-gate /* real declarations of KDC's externs */
37*0Sstevel@tonic-gate kdc_realm_t	**kdc_realmlist = (kdc_realm_t **) NULL;
38*0Sstevel@tonic-gate int		kdc_numrealms = 0;
39*0Sstevel@tonic-gate kdc_realm_t	*kdc_active_realm = (kdc_realm_t *) NULL;
40*0Sstevel@tonic-gate krb5_data empty_string = {0, 0, ""};
41*0Sstevel@tonic-gate krb5_timestamp kdc_infinity = KRB5_KDB_EXPIRATION;
42*0Sstevel@tonic-gate krb5_rcache	kdc_rcache = (krb5_rcache) NULL;
43*0Sstevel@tonic-gate krb5_keyblock	psr_key;
44*0Sstevel@tonic-gate 
45*0Sstevel@tonic-gate volatile int signal_requests_exit = 0;	/* gets set when signal hits */
46*0Sstevel@tonic-gate volatile int signal_requests_hup = 0;   /* ditto */
47