summaryrefslogtreecommitdiffstats
path: root/src/kdc/extern.c
blob: 8f08daf2c7a08a6fa500bd9886b8f757d667f200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * $Source$
 * $Author$
 *
 * Copyright 1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <krb5/mit-copyright.h>.
 *
 * allocations of extern stuff
 */

#if !defined(lint) && !defined(SABER)
static char rcsid_extern_c[] =
"$Id$";
#endif	/* !lint & !SABER */

#include <krb5/copyright.h>

#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/kdb_dbm.h>

/* real declarations of KDC's externs */
krb5_rcache kdc_rcache;

krb5_data empty_string = {0, ""};
krb5_timestamp infinity = KRB5_INT32_MAX; /* XXX */

krb5_deltat max_life_for_realm;		/* XXX parameter per-realm? */
krb5_deltat max_renewable_life_for_realm; /* XXX param per-realm? */

krb5_keyblock master_keyblock;
krb5_principal master_princ;

volatile int signal_requests_exit = 0;	/* gets set when signal hits */

char *dbm_db_name = DEFAULT_DBM_FILE;