diff options
author | Kenneth G Raeburn <raeburn@mit.edu> | 1988-10-19 12:35:51 +0000 |
---|---|---|
committer | Kenneth G Raeburn <raeburn@mit.edu> | 1988-10-19 12:35:51 +0000 |
commit | 4ec20531d13fe73986051edc3cdc29d132e7e2fb (patch) | |
tree | 60563ed3f8c62ab53eecc9a4b68a3df4c3f23fed /h | |
parent | 13b2422275b52f7d5b6dee89824d2903208041a5 (diff) |
Added non-Kerberos and Ultrix changes; added HM_SVCNAME and
SERVER_SVCNAME definitions.
Diffstat (limited to 'h')
-rw-r--r-- | h/zephyr/zephyr_conf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h index a86d7dd..e358581 100644 --- a/h/zephyr/zephyr_conf.h +++ b/h/zephyr/zephyr_conf.h @@ -5,6 +5,7 @@ * * $Source$ * $Author$ + * $Header$ * * Copyright (c) 1988 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file @@ -24,8 +25,27 @@ /* General filenames */ #define DEFAULT_VARS_FILE "/etc/athena/zephyr.vars" +/* Service names */ +#define HM_SVCNAME "zephyr-hm" +#define SERVER_SVCNAME "zephyr-clt" + +#if defined(ultrix) && !defined(ULTRIX30) +/* Ultrix 3.0 has these defined in standard places */ +#define MAXHOSTNAMELEN 64 +typedef int uid_t; +typedef int gid_t; +#ifndef KERBEROS +#define FD_ZERO(p) ((p)->fds_bits[0] = 0) +#define FD_SET(n, p) ((p)->fds_bits[0] |= (1 << (n))) +#define FD_ISSET(n, p) ((p)->fds_bits[0] & (1 << (n))) +#endif /* KERBEROS */ +#define FD_CLR(n, p) ((p)->fds_bits[0] &= ~(1 << (n))) +#endif /* ultrix */ + #ifndef KERBEROS #define REALM_SZ MAXHOSTNAMELEN +#define INST_SZ 0 /* no instances w/o Kerberos */ +#define ANAME_SZ 9 /* size of a username + null */ #endif /* !KERBEROS */ #endif /* __ZEPHYR_CONF_H__ */ |