diff options
author | John Kohl <jtkohl@mit.edu> | 1988-07-19 06:26:52 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-07-19 06:26:52 +0000 |
commit | 2871bb8e3459cfa9d31914df449dda2a7c12e3a7 (patch) | |
tree | c86b62e1f3b4c3834cc617949dfccaf15b5309a9 /server/zsrv_conf.h | |
parent | 7d8f302cfad47b0740a2a1d29e8cb1af4a1f0415 (diff) |
Initial revision
Diffstat (limited to 'server/zsrv_conf.h')
-rw-r--r-- | server/zsrv_conf.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/server/zsrv_conf.h b/server/zsrv_conf.h new file mode 100644 index 0000000..168a1e5 --- /dev/null +++ b/server/zsrv_conf.h @@ -0,0 +1,53 @@ +/* This file is part of the Project Athena Zephyr Notification System. + * It contains site-specific definitions for use in the server. + * + * Created by: John T. Kohl + * + * $Source$ + * $Author$ + * $Header$ + * + * Copyright (c) 1988 by the Massachusetts Institute of Technology. + * For copying and distribution information, see the file + * "mit-copyright.h". + */ + +#ifndef __ZSRV_CONF_H__ +#define __ZSRV_CONF_H__ +#include <zephyr/mit-copyright.h> + +/* Magic path names */ +#ifndef HESIOD +#define SERVER_LIST_FILE "/usr/athena/lib/zephyr/server.list" +#endif /* !HESIOD */ + +/* ACL's for pre-registered classes */ +/* Directory containing acls and other info */ +#define ZEPHYR_ACL_DIR "/usr/athena/lib/zephyr/" +/* name of the class registry */ +#define ZEPHYR_CLASS_REGISTRY "class-registry.acl" + +/* name of file to hold the tickets for keys to exchange with other servers */ +#define ZEPHYR_TKFILE "/usr/athena/lib/zephyr/ztkts" + +/* default subscription file */ +#define DEFAULT_SUBS_FILE "/usr/athena/lib/zephyr/default.subscriptions" + +/* client defines */ +#define REXMIT_SECS ((long) 20) /* rexmit delay on normal notices */ +#define NUM_REXMITS (5) /* number of rexmits */ + +/* hostmanager defines */ +#define LOSE_TIMO (30) /* time during which a losing host + must respond to a ping */ + +/* server-server defines */ +#define TIMO_UP ((long) 60) /* timeout between up and tardy */ +#define TIMO_TARDY ((long) 60) /* timeout btw tardy hellos */ +#define TIMO_DEAD ((long)(15*60)) /* timeout between hello's for dead */ + +#define H_NUM_TARDY 3 /* num hello's before going dead + when tardy */ +#define H_NUM_STARTING 2 /* num hello's before going dead + when starting */ +#endif /* __ZSRV_CONF_H__ */ |