summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-12-21 10:40:21 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-12-21 10:40:21 +0000
commit3355ab62b8c26baff36afa19f93842c5a03979ce (patch)
tree083a4df1638663a019aaab02ed87672435e31d32 /usr.sbin/smtpd/smtpd.h
parent17f1aecaf84b1b6782975e3b2d11b80f03717985 (diff)
add FILTER_SUBSYSTEM_SMTP_OUT to filter_subsystem enum and add filter name
to struct dispatcher_remote, this will reduce the smtp-out reporting diff
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 18c09f2ba74..7e59d4d32b2 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.648 2019/12/21 10:23:37 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.649 2019/12/21 10:40:20 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1039,7 +1039,8 @@ enum filter_type {
};
enum filter_subsystem {
- FILTER_SUBSYSTEM_SMTP_IN = 1
+ FILTER_SUBSYSTEM_SMTP_IN = 1<<0,
+ FILTER_SUBSYSTEM_SMTP_OUT = 1<<1,
};
struct filter_proc {
@@ -1178,6 +1179,8 @@ struct dispatcher_remote {
int backup;
char *backupmx;
+ char *filtername;
+
int srs;
};