NCR3000 needs explicit include of sys/sockio.h
[unix-history] / usr / src / usr.sbin / sendmail / src / conf.h
index 0931494..d4cd1d7 100644 (file)
@@ -5,11 +5,14 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)conf.h      8.165 (Berkeley) %G%
+ *     @(#)conf.h      8.177 (Berkeley) %G%
  */
 
 /*
 **  CONF.H -- All user-configurable parameters for sendmail
  */
 
 /*
 **  CONF.H -- All user-configurable parameters for sendmail
+**
+**     Send updates to sendmail@CS.Berkeley.EDU so they will be
+**     included in the next release.
 */
 
 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
 */
 
 struct rusage; /* forward declaration to get gcc to shut up in wait.h */
@@ -46,10 +49,7 @@ struct rusage;       /* forward declaration to get gcc to shut up in wait.h */
 # define MAXTOCLASS    8               /* max # of message timeout classes */
 # define MAXMIMEARGS   20              /* max args in Content-Type: */
 # define MAXMIMENESTING        20              /* max MIME multipart nesting */
 # define MAXTOCLASS    8               /* max # of message timeout classes */
 # define MAXMIMEARGS   20              /* max args in Content-Type: */
 # define MAXMIMENESTING        20              /* max MIME multipart nesting */
-
-# ifndef QUEUESIZE
-#  define QUEUESIZE    3000            /* max # of jobs per queue run */
-# endif
+# define QUEUESEGSIZE  1000            /* increment for queue size */
 
 /**********************************************************************
 **  Compilation options.
 
 /**********************************************************************
 **  Compilation options.
@@ -110,18 +110,13 @@ struct rusage;    /* forward declaration to get gcc to shut up in wait.h */
 #ifdef __STDC__
 # define HASSETVBUF    1       /* we have setvbuf(3) in libc */
 #endif
 #ifdef __STDC__
 # define HASSETVBUF    1       /* we have setvbuf(3) in libc */
 #endif
-
-/**********************************************************************
+\f/**********************************************************************
 **  Operating system configuration.
 **
 **     Unless you are porting to a new OS, you shouldn't have to
 **     change these.
 **********************************************************************/
 
 **  Operating system configuration.
 **
 **     Unless you are porting to a new OS, you shouldn't have to
 **     change these.
 **********************************************************************/
 
-/*
-**  Per-Operating System defines
-*/
-
 
 /*
 **  HP-UX -- tested for 8.07, 9.00, and 9.01.
 
 /*
 **  HP-UX -- tested for 8.07, 9.00, and 9.01.
@@ -136,6 +131,7 @@ struct rusage;      /* forward declaration to get gcc to shut up in wait.h */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define USESETEUID    1       /* has useable seteuid(2) call */
 # define seteuid(e)    setresuid(-1, e, -1)
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define USESETEUID    1       /* has useable seteuid(2) call */
 # define seteuid(e)    setresuid(-1, e, -1)
+# define IP_SRCROUTE   1       /* can check IP source routing */
 # define LA_TYPE       LA_HPUX
 # define SPT_TYPE      SPT_PSTAT
 # define SFS_TYPE      SFS_VFS /* use <sys/vfs.h> statfs() implementation */
 # define LA_TYPE       LA_HPUX
 # define SPT_TYPE      SPT_PSTAT
 # define SFS_TYPE      SFS_VFS /* use <sys/vfs.h> statfs() implementation */
@@ -145,7 +141,7 @@ struct rusage;      /* forward declaration to get gcc to shut up in wait.h */
 # endif
 # define syslog                hard_syslog
 # ifdef __STDC__
 # endif
 # define syslog                hard_syslog
 # ifdef __STDC__
-extern int     syslog(int, char *, ...);
+extern void    hard_syslog(int, char *, ...);
 # endif
 
 # ifdef V4FS
 # endif
 
 # ifdef V4FS
@@ -183,9 +179,7 @@ extern int  syslog(int, char *, ...);
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASGETUSERSHELL 0     /* does not have getusershell(3) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASGETUSERSHELL 0     /* does not have getusershell(3) call */
-# ifndef IP_SRCROUTE
-#  define IP_SRCROUTE  0       /* Something is broken with getsockopt() */
-# endif
+# define IP_SRCROUTE   0       /* Something is broken with getsockopt() */
 # define FORK          fork    /* no vfork primitive available */
 # define GIDSET_T      gid_t
 # define SFS_TYPE      SFS_STATFS      /* use <sys/statfs.h> statfs() impl */
 # define FORK          fork    /* no vfork primitive available */
 # define GIDSET_T      gid_t
 # define SFS_TYPE      SFS_STATFS      /* use <sys/statfs.h> statfs() impl */
@@ -215,13 +209,10 @@ extern int        syslog(int, char *, ...);
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASGETUSERSHELL 0     /* does not have getusershell(3) call */
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASGETUSERSHELL 0     /* does not have getusershell(3) call */
+# define IP_SRCROUTE   1       /* can check IP source routing */
 # define FORK          fork    /* no vfork primitive available */
 # define FORK          fork    /* no vfork primitive available */
-# if !defined(IRIX64) && !defined(IRIX5)
-#  define WAITUNION    1       /* use "union wait" as wait argument type */
-# endif
 # define setpgid       BSDsetpgrp
 # define GIDSET_T      gid_t
 # define setpgid       BSDsetpgrp
 # define GIDSET_T      gid_t
-# define ARGV_T                const char **
 # define SFS_TYPE      SFS_4ARGS       /* four argument statfs() call */
 # define SFS_BAVAIL    f_bfree         /* alternate field name */
 # define LA_TYPE       LA_INT
 # define SFS_TYPE      SFS_4ARGS       /* four argument statfs() call */
 # define SFS_BAVAIL    f_bfree         /* alternate field name */
 # define LA_TYPE       LA_INT
@@ -230,6 +221,12 @@ extern int syslog(int, char *, ...);
 # else
 #  define NAMELISTMASK 0x7fffffff              /* mask for nlist() values */
 # endif
 # else
 #  define NAMELISTMASK 0x7fffffff              /* mask for nlist() values */
 # endif
+# if defined(IRIX64) || defined(IRIX5)
+#  define ARGV_T       char *const *
+# else
+#  define ARGV_T       const char **
+#  define WAITUNION    1       /* use "union wait" as wait argument type */
+# endif
 #endif
 
 
 #endif
 
 
@@ -245,6 +242,7 @@ extern int  syslog(int, char *, ...);
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASGETUSERSHELL 1     /* DOES have getusershell(3) call in libc */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASGETUSERSHELL 1     /* DOES have getusershell(3) call in libc */
+# define IP_SRCROUTE   1       /* can check IP source routing */
 # define LA_TYPE       LA_INT
 
 # ifdef SOLARIS_2_3
 # define LA_TYPE       LA_INT
 
 # ifdef SOLARIS_2_3
@@ -256,6 +254,7 @@ extern int  syslog(int, char *, ...);
 #  ifndef __svr4__
 #   define __svr4__            /* use all System V Releae 4 defines below */
 #  endif
 #  ifndef __svr4__
 #   define __svr4__            /* use all System V Releae 4 defines below */
 #  endif
+#  define BSD_COMP     1       /* get BSD ioctl calls */
 #  include <sys/time.h>
 #  define GIDSET_T     gid_t
 #  ifndef _PATH_UNIX
 #  include <sys/time.h>
 #  define GIDSET_T     gid_t
 #  ifndef _PATH_UNIX
@@ -287,6 +286,7 @@ extern int  syslog(int, char *, ...);
                        /* special tweaking for SunOS 4.0.3 */
 #   include <malloc.h>
 #   define SYS5SIGNALS 1       /* SysV signal semantics -- reset on each sig */
                        /* special tweaking for SunOS 4.0.3 */
 #   include <malloc.h>
 #   define SYS5SIGNALS 1       /* SysV signal semantics -- reset on each sig */
+#   define NEEDSTRSTR  1       /* need emulation of strstr(3) routine */
 #   define WAITUNION   1       /* use "union wait" as wait argument type */
 #   undef WIFEXITED
 #   undef WEXITSTATUS
 #   define WAITUNION   1       /* use "union wait" as wait argument type */
 #   undef WIFEXITED
 #   undef WEXITSTATUS
@@ -397,6 +397,7 @@ extern long dgux_inet_addr();
 # define HASUNSETENV   1       /* has unsetenv(3) call */
 # define USESETEUID    1       /* has useable seteuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASUNSETENV   1       /* has unsetenv(3) call */
 # define USESETEUID    1       /* has useable seteuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
+# define IP_SRCROUTE   1       /* can check IP source routing */
 # ifndef HASFLOCK
 #  define HASFLOCK     1       /* has flock(2) call */
 # endif
 # ifndef HASFLOCK
 #  define HASFLOCK     1       /* has flock(2) call */
 # endif
@@ -414,6 +415,7 @@ extern long dgux_inet_addr();
 
 #ifdef NeXT
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 
 #ifdef NeXT
 # define HASINITGROUPS 1       /* has initgroups(3) call */
+# define NEEDPUTENV    2       /* need putenv(3) call; no setenv(3) call */
 # ifndef HASFLOCK
 #  define HASFLOCK     1       /* has flock(2) call */
 # endif
 # ifndef HASFLOCK
 #  define HASFLOCK     1       /* has flock(2) call */
 # endif
@@ -690,6 +692,7 @@ typedef short               pid_t;
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASSETSID     1       /* has POSIX setsid(2) call */
 # define NEEDGETOPT    1       /* need replacement for getopt(3) */
 # define HASUNAME      1       /* use System V uname(2) system call */
 # define HASSETSID     1       /* has POSIX setsid(2) call */
 # define NEEDGETOPT    1       /* need replacement for getopt(3) */
+# define IP_SRCROUTE   0       /* Something is broken with getsockopt() */
 # define LA_TYPE       LA_FLOAT
 # define SFS_TYPE      SFS_VFS /* use <sys/vfs.h> statfs() implementation */
 # ifndef _PATH_SENDMAILCF
 # define LA_TYPE       LA_FLOAT
 # define SFS_TYPE      SFS_VFS /* use <sys/vfs.h> statfs() implementation */
 # ifndef _PATH_SENDMAILCF
@@ -706,9 +709,6 @@ typedef short               pid_t;
 # ifndef IDENTPROTO
 #  define IDENTPROTO   0       /* TCP/IP implementation is broken */
 # endif
 # ifndef IDENTPROTO
 #  define IDENTPROTO   0       /* TCP/IP implementation is broken */
 # endif
-# ifndef IP_SRCROUTE
-#  define IP_SRCROUTE  0       /* Something is broken with getsockopt() */
-# endif
 #endif
 
 
 #endif
 
 
@@ -753,10 +753,9 @@ extern void                *malloc();
 **     Florian La Roche <rzsfl@rz.uni-sb.de>
 **     Karl London <karl@borg.demon.co.uk>
 **
 **     Florian La Roche <rzsfl@rz.uni-sb.de>
 **     Karl London <karl@borg.demon.co.uk>
 **
-**  Last compiled against:     [12/14/94 @ 11:38:41 PM (Wednesday)]
-**     sendmail 8.7.a.5        named 4.9.3-beta12-p1   db-1.85
-**     gcc 2.6.2               libc.so.4.6.20
-**     slackware 2.1.0         linux 1.1.70
+**  Last compiled against:     [05/25/95 @ 11:39:31 AM (Thursday)]
+**     sendmail 8.7.b.0        named 4.9.3-beta17      db-1.85
+**     gcc 2.6.4-950518        libc-5.0.9              linux 1.2.8
 */
 
 #ifdef __linux__
 */
 
 #ifdef __linux__
@@ -767,6 +766,7 @@ extern void         *malloc();
 # define ERRLIST_PREDEFINED    /* don't declare sys_errlist */
 # define GIDSET_T      gid_t   /* from <linux/types.h> */
 # define HASGETUSERSHELL 0     /* getusershell(3) broken in Slackware 2.0 */
 # define ERRLIST_PREDEFINED    /* don't declare sys_errlist */
 # define GIDSET_T      gid_t   /* from <linux/types.h> */
 # define HASGETUSERSHELL 0     /* getusershell(3) broken in Slackware 2.0 */
+# define IP_SRCROUTE   0       /* linux <= 1.2.8 doesn't support IP_OPTIONS */
 # ifndef HASFLOCK
 #  define HASFLOCK     0       /* flock(2) is broken after 0.99.13 */
 # endif
 # ifndef HASFLOCK
 #  define HASFLOCK     0       /* flock(2) is broken after 0.99.13 */
 # endif
@@ -1044,7 +1044,9 @@ typedef int               pid_t;
 */
 
 #ifdef NCR3000
 */
 
 #ifdef NCR3000
+# include <sys/sockio.h>
 # define __svr4__
 # define __svr4__
+# define IP_SRCROUTE   0       /* Something is broken with getsockopt() */
 # undef BSD
 # define LA_AVENRUN    "avenrun"
 #endif
 # undef BSD
 # define LA_AVENRUN    "avenrun"
 #endif
@@ -1221,6 +1223,7 @@ typedef int               (*sigfunc_t)();
 # define HASUNSETENV   1       /* has unsetenv(2) call */
 # define NEEDPUTENV    1       /* need putenv(3) call */
 # define NEEDGETOPT    1       /* need a replacement for getopt(3) */
 # define HASUNSETENV   1       /* has unsetenv(2) call */
 # define NEEDPUTENV    1       /* need putenv(3) call */
 # define NEEDGETOPT    1       /* need a replacement for getopt(3) */
+# define NEEDSTRSTR    1       /* need emulation of the strstr(3) call */
 # define WAITUNION     1       /* use "union wait" as wait argument type */
 # ifdef uniosb
 #  define LA_TYPE      LA_INT
 # define WAITUNION     1       /* use "union wait" as wait argument type */
 # ifdef uniosb
 #  define LA_TYPE      LA_INT
@@ -1280,6 +1283,9 @@ extern int        errno;
 # define HASGETDTABLESIZE 1    /* has getdtablesize(2) call */
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
 # define HASGETDTABLESIZE 1    /* has getdtablesize(2) call */
 # define HASSETREUID   1       /* has setreuid(2) call */
 # define HASINITGROUPS 1       /* has initgroups(3) call */
+# ifndef IP_SRCROUTE
+#  define IP_SRCROUTE  1       /* can check IP source routing */
+# endif
 # ifndef HASSETRLIMIT
 #  define HASSETRLIMIT 1       /* has setrlimit(2) call */
 # endif
 # ifndef HASSETRLIMIT
 #  define HASSETRLIMIT 1       /* has setrlimit(2) call */
 # endif
@@ -1456,9 +1462,7 @@ extern int        errno;
 #ifndef ARGV_T
 # define ARGV_T                char **
 #endif
 #ifndef ARGV_T
 # define ARGV_T                char **
 #endif
-
-
-/**********************************************************************
+\f/**********************************************************************
 **  Remaining definitions should never have to be changed.  They are
 **  primarily to provide back compatibility for older systems -- for
 **  example, it includes some POSIX compatibility definitions
 **  Remaining definitions should never have to be changed.  They are
 **  primarily to provide back compatibility for older systems -- for
 **  example, it includes some POSIX compatibility definitions