summaryrefslogtreecommitdiff
path: root/h
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-12-19 21:57:33 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-12-19 21:57:33 +0000
commit3a495a417f4852dc9be41f3a94eccb7112de19cf (patch)
treecabd72b5e6aa9938faaad11edb09c618e9449d4d /h
parent37839b5417742831aa532af8d0fe2b89f56ff4c0 (diff)
Added new SRV_TIMEOUT of 30 seconds.
Diffstat (limited to 'h')
-rw-r--r--h/zephyr/zephyr.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h
index b685e5f..82c5e6b 100644
--- a/h/zephyr/zephyr.h
+++ b/h/zephyr/zephyr.h
@@ -92,8 +92,8 @@ extern "C" {
#define z_sender_addr z_uid.zuid_addr
struct timeval z_time;
u_short z_port;
- int z_auth;
- int z_authent_len;
+ int z_auth;
+ int z_authent_len;
char *z_ascii_authent;
char *z_class;
char *z_class_inst;
@@ -103,11 +103,11 @@ extern "C" {
char *z_default_format;
char *z_multinotice;
ZUnique_Id_t z_multiuid;
- ZChecksum_t z_checksum;
- int z_num_other_fields;
+ ZChecksum_t z_checksum;
+ int z_num_other_fields;
char *z_other_fields[Z_MAXOTHERFIELDS];
caddr_t z_message;
- int z_message_len;
+ int z_message_len;
} ZNotice_t;
/* Subscription structure */
@@ -143,7 +143,7 @@ extern "C" {
/* Port number */
extern int __Zephyr_port;
- /* Destination (HM) addr */
+ /* Destination (hostmanager, usually) addr */
extern struct sockaddr_in __HM_addr;
/* for ZQLength */
@@ -223,6 +223,9 @@ extern "C" {
/* Hostmanager wait time (in secs) */
#define HM_TIMEOUT 10
+ /* Server wait time (in secs) */
+#define SRV_TIMEOUT 30
+
#define ZAUTH (ZMakeAuthentication)
#define ZNOAUTH ((Z_AuthProc)0)
@@ -242,6 +245,8 @@ extern "C" {
const int HM_TIMEOUT = 10;
+ const int SRV_TIMEOUT = 30;
+
const Z_AuthProc ZAUTH = &ZMakeAuthentication;
const Z_AuthProc ZNOAUTH = 0;