diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 17:35:57 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 17:35:57 +0000 |
commit | 85e421eb53e43028a7fc118901f453d4aca3ffd1 (patch) | |
tree | d6d9bc647ab0f99b5fcfebaf3fb9cde03398f4c4 /server/zserver.h | |
parent | 97d9ade5df0b7ba87d164d9465b0814215e00a35 (diff) |
Solaris needs <fcntl.h>
Don't need ZSRV_INSTANCE/ZSRV_SERVICE decls anymore
Declare type "Sched" for use with BD session keys
Diffstat (limited to 'server/zserver.h')
-rw-r--r-- | server/zserver.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/server/zserver.h b/server/zserver.h index 57d0a6d..7483bb5 100644 --- a/server/zserver.h +++ b/server/zserver.h @@ -25,6 +25,7 @@ #include <arpa/inet.h> #include <zephyr/acl.h> #include <sys/file.h> +#include <fcntl.h> #include <zephyr/zsyslog.h> @@ -368,9 +369,6 @@ extern struct in_addr my_addr; /* my inet address */ #define ADMIN_YOU "YOUR_STATE" /* Class inst: please send your state*/ #define ADMIN_ME "MY_STATE" /* Class inst: please send my info */ -#define ZSRV_SERVICE "zephyr" -#define ZSRV_INSTANCE "zephyr" - #define NULLZCT ((ZClass_t *) 0) #define NULLZCNT ((ZClient_t *) 0) #define NULLZCLT ((ZClientList_t *) 0) @@ -404,6 +402,15 @@ extern struct in_addr my_addr; /* my inet address */ /* SERVER_SRVTAB is defined in zephyr.h */ #define ZEPHYR_SRVTAB SERVER_SRVTAB +#ifdef KERBEROS +#ifndef NOENCRYPTION +/* Kerberos shouldn't stick us with array types... */ +typedef struct { + des_key_schedule s; +} Sched; +#endif +#endif + /* debugging macros */ #ifdef DEBUG #define zdbug(s1) if (zdebug) syslog s1; |