summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:33:22 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:33:22 +0000
commit7f450e4ec00de37e01be7d244263216bd8bfe578 (patch)
treefbf90e0ce11431c109d15babd4849194907564f7 /usr.sbin/smtpd/smtp_session.c
parent98984d2f2015b6dece72bda16064217b060d9bfd (diff)
prepare struct smtp_session for handling of filters
Diffstat (limited to 'usr.sbin/smtpd/smtp_session.c')
-rw-r--r--usr.sbin/smtpd/smtp_session.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 1365d0822f7..6de11e658cc 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.249 2015/12/12 10:31:01 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.250 2015/12/12 10:33:21 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -141,11 +141,16 @@ struct smtp_session {
TAILQ_HEAD(, smtp_rcpt) rcpts;
size_t datain;
+ size_t odatalen;
+ struct iobuf obuf;
+ struct io oev;
size_t datalen;
FILE *ofile;
int hdrdone;
int rcvcount;
+ int dataeom;
+ int skiphdr;
struct event pause;
struct rfc2822_parser rfc2822_parser;