From: Eric Allman Date: Sun, 14 Nov 1982 09:55:08 +0000 (-0800) Subject: clean up argument structure; move configuration into conf.h X-Git-Tag: BSD-4_1c_2-Snapshot-Development~1864 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/6bf170958ca67011c14bebba44ef26c3227d7c7c clean up argument structure; move configuration into conf.h SCCS-mr: usr.sbin/sendmail/src/sendmail.h 069,, 070 SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 3.98 --- diff --git a/usr/src/usr.sbin/sendmail/src/sendmail.h b/usr/src/usr.sbin/sendmail/src/sendmail.h index 1ff682807f..7aa8d8e365 100644 --- a/usr/src/usr.sbin/sendmail/src/sendmail.h +++ b/usr/src/usr.sbin/sendmail/src/sendmail.h @@ -7,7 +7,7 @@ # ifdef _DEFINE # define EXTERN # ifndef lint -static char SmailSccsId[] = "@(#)sendmail.h 3.97 %G%"; +static char SmailSccsId[] = "@(#)sendmail.h 3.98 %G%"; # endif lint # else _DEFINE # define EXTERN extern @@ -17,27 +17,13 @@ static char SmailSccsId[] = "@(#)sendmail.h 3.97 %G%"; # include # include # include "conf.h" +# include "conf.h" # include "useful.h" # ifdef LOG # include # endif LOG /* -** Configuration constants. -** There shouldn't be much need to change these.... -*/ - -# define MAXLINE 256 /* max line length */ -# define MAXNAME 128 /* max length of a name */ -# define MAXFIELD 2500 /* max total length of a hdr field */ -# define MAXPV 40 /* max # of parms to mailers */ -# define MAXHOP 30 /* max value of HopCount */ -# define MAXATOM 100 /* max atoms per address */ -# define MAXMAILERS 25 /* maximum mailers known to system */ -# define MAXRWSETS 30 /* max # of sets of rewriting rules */ -# define MAXPRIORITIES 25 /* max values for Precedence: field */ -# define MAXTRUST 30 /* maximum number of trusted users */ - /* ** Address structure. ** Addresses are stored internally in this structure. ** @@ -379,6 +365,9 @@ EXTERN char Mode; /* operation mode, see below */ #define MD_DAEMON 'd' /* run as a daemon */ #define MD_VERIFY 'v' /* verify: don't collect or deliver */ #define MD_TEST 't' /* test mode: resolve addrs only */ +#define MD_INITALIAS 'i' /* initialize alias database */ +#define MD_PRINT 'p' /* print the queue */ +#define MD_FREEZE 'z' /* freeze the configuration file */ #define MD_DEFAULT MD_DELIVER /* default operation mode */ /* @@ -407,6 +396,7 @@ EXTERN bool NoConnect; /* don't connect to non-local mailers */ EXTERN bool FatalErrors; /* set if fatal errors during processing */ EXTERN bool SuperSafe; /* be extra careful, even if expensive */ EXTERN bool SafeAlias; /* alias file must have "@:@" to be complete */ +EXTERN bool AutoRebuild; /* auto-rebuild the alias database as needed */ EXTERN time_t TimeOut; /* time until timeout */ EXTERN FILE *InChannel; /* input connection */ EXTERN FILE *OutChannel; /* output connection */