summaryrefslogtreecommitdiff
path: root/server/zserver.h
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-07-19 06:26:19 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-07-19 06:26:19 +0000
commit7d8f302cfad47b0740a2a1d29e8cb1af4a1f0415 (patch)
tree90143176db5a2a61f934d03c367d1c98ecb8e1cd /server/zserver.h
parentb2877fff319beb00978f9c668aec66dd638d9dff (diff)
move stuff to zsrv_conf.h, add access_init and _reinit
Diffstat (limited to 'server/zserver.h')
-rw-r--r--server/zserver.h35
1 files changed, 2 insertions, 33 deletions
diff --git a/server/zserver.h b/server/zserver.h
index 85d1c43..bb83fd7 100644
--- a/server/zserver.h
+++ b/server/zserver.h
@@ -34,6 +34,7 @@
#endif /* lint */
#include "timer.h"
#include "zsrv_err.h"
+#include "zsrv_conf.h" /* configuration params */
/* definitions for the Zephyr server */
@@ -152,6 +153,7 @@ struct qelem {
/* found in access.c */
extern int access_check();
+extern void access_init(), access_reinit();
/* found in brain_dump.c */
extern void bdump_get(), bdump_send(), bdump_offer();
@@ -247,25 +249,6 @@ extern int nservers; /* number of other servers*/
extern char *pktypes[]; /* names of the packet types */
#endif /* DEBUG */
-/* useful defines */
-
-/* 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 */
#define ADMIN_HELLO "HELLO" /* Opcode: hello, are you there */
#define ADMIN_IMHERE "IHEARDYOU" /* Opcode: yes, I am here */
@@ -319,23 +302,9 @@ extern char *pktypes[]; /* names of the packet types */
/* the instance that matches all instances */
#define WILDCARD_INSTANCE "*"
-/* Magic path names */
-#ifndef HESIOD
-#define SERVER_LIST_FILE "/usr/athena/lib/zephyr/server.list"
-#endif /* !HESIOD */
-
-/* ACL's for pre-registered classes */
-#define ZEPHYR_ACL_DIR "/usr/athena/lib/zephyr/"
-#define ZEPHYR_CLASS_REGISTRY "class-registry.acl"
-
/* SERVER_SRVTAB is defined in zephyr.h */
#define ZEPHYR_SRVTAB SERVER_SRVTAB
-#define ZEPHYR_TKFILE "/usr/athena/lib/zephyr/ztkts"
-
-/* default subscription list */
-#define DEFAULT_SUBS_FILE "/usr/athena/lib/zephyr/default.subscriptions"
-
/* debugging macros */
#ifdef DEBUG
#define zdbug(s1) if (zdebug) syslog s1;