summaryrefslogtreecommitdiff
path: root/mail/sendmail812/patches/patch-aj
blob: 5e4d82e2987a292c7ed892a9273a743966afa478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aj,v 1.1.2.2 2006/06/14 21:07:23 salo Exp $

--- sendmail/sendmail.h.orig	2006-06-13 21:35:58.000000000 +0100
+++ sendmail/sendmail.h
@@ -942,6 +942,7 @@ struct envelope
 #define EF_TOOBIG	0x02000000L	/* message is too big */
 #define EF_SPLIT	0x04000000L	/* envelope has been split */
 #define EF_UNSAFE	0x08000000L	/* unsafe: read from untrusted source */
+#define EF_TOODEEP	0x10000000L	/* message is nested too deep */
 
 #define DLVR_NOTIFY	0x01
 #define DLVR_RETURN	0x02
@@ -1592,7 +1593,7 @@ EXTERN unsigned long	PrivacyFlags;	/* pr
 
 /* functions */
 extern bool	mime7to8 __P((MCI *, HDR *, ENVELOPE *));
-extern int	mime8to7 __P((MCI *, HDR *, ENVELOPE *, char **, int));
+extern int	mime8to7 __P((MCI *, HDR *, ENVELOPE *, char **, int, int));
 
 /*
 **  Flags passed to returntosender.