summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2016-08-31 15:24:05 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2016-08-31 15:24:05 +0000
commitfaf9fc11c58e8b2b0f3acbd8f2ba8b8a2a086d54 (patch)
treed03a630ad6a2e21d9299b9979378f6a55c0ca530 /usr.sbin/smtpd/smtpd.h
parentc8dc48bf60914311913c5553c1d1ad64c0897fa4 (diff)
introduce "authenticated" parameter so rules may apply to authenticated
sessions specifically ok eric@, sunil@, jung@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index c8bbbd0ac01..a2a01c5f551 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.517 2016/08/31 10:18:08 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.518 2016/08/31 15:24:04 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -395,6 +395,8 @@ struct rule {
enum dest_type r_desttype;
struct table *r_destination;
+ uint8_t r_wantauth;
+
enum action_type r_action;
union rule_dest {
char buffer[EXPAND_BUFFER];