sendmail.h (43148) | sendmail.h (43730) |
---|---|
1/* 2 * Copyright (c) 1998 Sendmail, Inc. All rights reserved. 3 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 4 * Copyright (c) 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 * | 1/* 2 * Copyright (c) 1998 Sendmail, Inc. All rights reserved. 3 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 4 * Copyright (c) 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 * |
12 * @(#)sendmail.h 8.292 (Berkeley) 11/21/1998 | 12 * @(#)sendmail.h 8.295 (Berkeley) 1/26/1999 |
13 */ 14 15/* 16** SENDMAIL.H -- Global definitions for sendmail. 17*/ 18 19# ifdef _DEFINE 20# define EXTERN 21# ifndef lint | 13 */ 14 15/* 16** SENDMAIL.H -- Global definitions for sendmail. 17*/ 18 19# ifdef _DEFINE 20# define EXTERN 21# ifndef lint |
22static char SmailSccsId[] = "@(#)sendmail.h 8.292 11/21/1998"; | 22static char SmailSccsId[] = "@(#)sendmail.h 8.295 1/26/1999"; |
23# endif 24# else /* _DEFINE */ 25# define EXTERN extern 26# endif /* _DEFINE */ 27 28# include <unistd.h> 29# include <stddef.h> 30# include <stdlib.h> --- 428 unchanged lines hidden (view full) --- 459 long e_flags; /* flags, see below */ 460 int e_nrcpts; /* number of recipients */ 461 short e_class; /* msg class (priority, junk, etc.) */ 462 short e_hopcount; /* number of times processed */ 463 short e_nsent; /* number of sends since checkpoint */ 464 short e_sendmode; /* message send mode */ 465 short e_errormode; /* error return mode */ 466 short e_timeoutclass; /* message timeout class */ | 23# endif 24# else /* _DEFINE */ 25# define EXTERN extern 26# endif /* _DEFINE */ 27 28# include <unistd.h> 29# include <stddef.h> 30# include <stdlib.h> --- 428 unchanged lines hidden (view full) --- 459 long e_flags; /* flags, see below */ 460 int e_nrcpts; /* number of recipients */ 461 short e_class; /* msg class (priority, junk, etc.) */ 462 short e_hopcount; /* number of times processed */ 463 short e_nsent; /* number of sends since checkpoint */ 464 short e_sendmode; /* message send mode */ 465 short e_errormode; /* error return mode */ 466 short e_timeoutclass; /* message timeout class */ |
467 void (*e_puthdr)__P((MCI *, HDR *, ENVELOPE *)); | 467 void (*e_puthdr)__P((MCI *, HDR *, ENVELOPE *, int)); |
468 /* function to put header of message */ 469 void (*e_putbody)__P((MCI *, ENVELOPE *, char *)); 470 /* function to put body of message */ 471 struct envelope *e_parent; /* the message this one encloses */ 472 struct envelope *e_sibling; /* the next envelope of interest */ 473 char *e_bodytype; /* type of message body */ 474 FILE *e_dfp; /* temporary file */ 475 char *e_id; /* code for this entry in queue */ --- 41 unchanged lines hidden (view full) --- 517 518EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */ 519 520/* functions */ 521extern ENVELOPE *newenvelope __P((ENVELOPE *, ENVELOPE *)); 522extern void dropenvelope __P((ENVELOPE *, bool)); 523extern void clearenvelope __P((ENVELOPE *, bool)); 524 | 468 /* function to put header of message */ 469 void (*e_putbody)__P((MCI *, ENVELOPE *, char *)); 470 /* function to put body of message */ 471 struct envelope *e_parent; /* the message this one encloses */ 472 struct envelope *e_sibling; /* the next envelope of interest */ 473 char *e_bodytype; /* type of message body */ 474 FILE *e_dfp; /* temporary file */ 475 char *e_id; /* code for this entry in queue */ --- 41 unchanged lines hidden (view full) --- 517 518EXTERN ENVELOPE *CurEnv; /* envelope currently being processed */ 519 520/* functions */ 521extern ENVELOPE *newenvelope __P((ENVELOPE *, ENVELOPE *)); 522extern void dropenvelope __P((ENVELOPE *, bool)); 523extern void clearenvelope __P((ENVELOPE *, bool)); 524 |
525extern void putheader __P((MCI *, HDR *, ENVELOPE *)); | 525extern void putheader __P((MCI *, HDR *, ENVELOPE *, int)); |
526extern void putbody __P((MCI *, ENVELOPE *, char *)); 527/* 528** Message priority classes. 529** 530** The message class is read directly from the Priority: header 531** field in the message. 532** 533** CurEnv->e_msgpriority is the number of bytes in the message plus --- 719 unchanged lines hidden (view full) --- 1253EXTERN bool AllowBogusHELO; /* allow syntax errors on HELO command */ 1254EXTERN bool UserSubmission; /* initial (user) mail submission */ 1255EXTERN char *RunAsUserName; /* user to become for bulk of run */ 1256EXTERN uid_t RunAsUid; /* UID to become for bulk of run */ 1257EXTERN gid_t RunAsGid; /* GID to become for bulk of run */ 1258EXTERN int MaxRcptPerMsg; /* max recipients per SMTP message */ 1259EXTERN bool DoQueueRun; /* non-interrupt time queue run needed */ 1260EXTERN u_long ConnectOnlyTo; /* override connection address (for testing) */ | 526extern void putbody __P((MCI *, ENVELOPE *, char *)); 527/* 528** Message priority classes. 529** 530** The message class is read directly from the Priority: header 531** field in the message. 532** 533** CurEnv->e_msgpriority is the number of bytes in the message plus --- 719 unchanged lines hidden (view full) --- 1253EXTERN bool AllowBogusHELO; /* allow syntax errors on HELO command */ 1254EXTERN bool UserSubmission; /* initial (user) mail submission */ 1255EXTERN char *RunAsUserName; /* user to become for bulk of run */ 1256EXTERN uid_t RunAsUid; /* UID to become for bulk of run */ 1257EXTERN gid_t RunAsGid; /* GID to become for bulk of run */ 1258EXTERN int MaxRcptPerMsg; /* max recipients per SMTP message */ 1259EXTERN bool DoQueueRun; /* non-interrupt time queue run needed */ 1260EXTERN u_long ConnectOnlyTo; /* override connection address (for testing) */ |
1261EXTERN int MaxHeaderLines; /* max lines of headers per message */ 1262EXTERN int MaxHeaderLineLength; /* max length of a header line */ | 1261EXTERN int MaxHeadersLength; /* max length of headers */ |
1263#if _FFR_DSN_RRT_OPTION 1264EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */ 1265#endif 1266EXTERN char *DeadLetterDrop; /* path to dead letter office */ 1267EXTERN bool DontProbeInterfaces; /* don't probe interfaces for names */ 1268EXTERN bool ChownAlwaysSafe; /* treat chown(2) as safe */ 1269EXTERN bool IgnoreHostStatus; /* ignore long term host status files */ 1270EXTERN bool SingleThreadDelivery; /* single thread hosts on delivery */ --- 245 unchanged lines hidden --- | 1262#if _FFR_DSN_RRT_OPTION 1263EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */ 1264#endif 1265EXTERN char *DeadLetterDrop; /* path to dead letter office */ 1266EXTERN bool DontProbeInterfaces; /* don't probe interfaces for names */ 1267EXTERN bool ChownAlwaysSafe; /* treat chown(2) as safe */ 1268EXTERN bool IgnoreHostStatus; /* ignore long term host status files */ 1269EXTERN bool SingleThreadDelivery; /* single thread hosts on delivery */ --- 245 unchanged lines hidden --- |