summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-08-31 18:56:31 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-08-31 18:56:31 +0000
commit765bc1b5fffe5b0e2f82f824bc4a91bba12073cc (patch)
tree3c456ecef8ff07cd9845866125edf40ae731e6a7 /usr.sbin/smtpd/smtpd.h
parent88fbf193fd2f3dc7446ff2da1e7d9f50366a84d1 (diff)
add support for per-line DATA callbacks, this allows filters to take their
decisions *while* the message is being received by the client.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 02b86a7ed45..d05cc24b8f5 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.235 2011/08/27 22:37:35 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.236 2011/08/31 18:56:30 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -147,7 +147,7 @@ enum imsg_type {
IMSG_MFA_HELO,
IMSG_MFA_MAIL,
IMSG_MFA_RCPT,
- IMSG_MFA_DISCONNECT,
+ IMSG_MFA_DATALINE,
IMSG_QUEUE_CREATE_MESSAGE,
IMSG_QUEUE_SUBMIT_ENVELOPE,
@@ -753,6 +753,7 @@ struct submit_status {
u_int32_t msgid;
u_int64_t evpid;
char errormsg[MAX_LINE_SIZE];
+ char dataline[MAX_LINE_SIZE];
} u;
enum delivery_flags flags;
struct sockaddr_storage ss;