From 2871bb8e3459cfa9d31914df449dda2a7c12e3a7 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 19 Jul 1988 06:26:52 +0000 Subject: Initial revision --- server/zsrv_conf.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 server/zsrv_conf.h (limited to 'server/zsrv_conf.h') 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 + +/* 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__ */ -- cgit v1.2.3