17 #if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
18 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
20 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
24 #define realloc(X, Y) isoc_realloc((X), (Y))
25 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
28 #ifdef VOID_RETSIGTYPE
29 #define SIGRETURN(x) return
31 #define SIGRETURN(x) return (RETSIGTYPE)(x)
35 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
39 /* Maximum values on all known systems */
40 #define MaxHostNameLen (64+4)
41 #define MaxPathLen (1024+4)
43 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
48 * Define NDBM if you are using the 4.3 ndbm library (which is part of
49 * libc). If not defined, 4.2 dbm will be assumed.
51 #if defined(HAVE_DBM_FIRSTKEY)
55 /* telnet stuff ----------------------------------------------- */
57 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
58 #define AUTHENTICATION 1
61 /* Set this to the default system lead string for telnetd
62 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
63 * %v=os-version, %t=tty, %h=hostname, %d=date and time
67 /* Used with login -p */
70 /* set this to a sensible login */
72 #define LOGIN_PATH BINDIR "/login"
78 * Defining this enables lots of useful (and used) extensions on
79 * glibc-based systems such as Linux
85 * this assumes that KRB_C_BIGENDIAN is used.
86 * if we can find out endianess at compile-time, do so,
87 * otherwise WORDS_BIGENDIAN should already have been defined
90 #if ENDIANESS_IN_SYS_PARAM_H
91 # include <sys/types.h>
92 # include <sys/param.h>
93 # if BYTE_ORDER == BIG_ENDIAN
94 # define WORDS_BIGENDIAN 1