]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/server/zsrv_conf.h
6c2da2d26cd26069e50544202ae17f65a94b4f30
[1ts-debian.git] / zephyr / server / zsrv_conf.h
1 /* This file is part of the Project Athena Zephyr Notification System.
2  * It contains site-specific definitions for use in the server.
3  *
4  *      Created by:     John T. Kohl
5  *
6  *      $Id: zsrv_conf.h,v 1.13 1999/01/22 23:19:54 ghudson Exp $
7  *
8  *      Copyright (c) 1988 by the Massachusetts Institute of Technology.
9  *      For copying and distribution information, see the file
10  *      "mit-copyright.h". 
11  */
12
13 #ifndef __ZSRV_CONF_H__
14 #define __ZSRV_CONF_H__
15 #include <zephyr/mit-copyright.h>
16
17 /* Path names are relative to CONFDIR, except for the class registry. */
18
19 #define SERVER_LIST_FILE        "server.list"
20 #define REALM_LIST_FILE         "realm.list"
21 #ifdef HAVE_KRB4
22 #define ZEPHYR_SRVTAB           "srvtab"
23 #define ZEPHYR_TKFILE           "ztkts"
24 #endif
25 #define ZEPHYR_ACL_DIR          "acl/"
26 #define ZEPHYR_CLASS_REGISTRY   "class-registry.acl"
27 #define DEFAULT_SUBS_FILE       "default.subscriptions"
28
29 #define REXMIT_TIMES { 2, 2, 4, 4, 8, 8, 16, 32, 64, 128, 256, 512, -1 }
30 #define NUM_REXMIT_TIMES 12
31 #define CLIENT_GIVEUP_MIN 512
32
33 /* hostmanager defines */
34 #define LOSE_TIMO       (60)            /* time during which a losing host
35                                            must respond to a ping */
36
37 /* server-server defines */
38 #define TIMO_UP         ((long) 60)     /* timeout between up and tardy */
39 #define TIMO_TARDY      ((long) 120)    /* timeout btw tardy hellos */
40 #define TIMO_DEAD       ((long)(15*60)) /* timeout between hello's for dead */
41
42 #define H_NUM_TARDY     5               /* num hello's before going dead
43                                            when tardy */
44 #define H_NUM_STARTING  2               /* num hello's before going dead
45                                            when starting */
46
47 #define SWEEP_INTERVAL  3600            /* Time between sweeps of the ticket
48                                            hash table */
49
50 #endif /* __ZSRV_CONF_H__ */