aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2016-02-26 09:01:18 +0100
committerGilles Chehade <gilles@poolp.org>2016-02-26 09:01:18 +0100
commit8b849a926e4bc7c6a6c6877b5930f7acc67c2aeb (patch)
tree9547806f6e1d96199bebe325f82eb30d340bf8e2 /smtpd/smtpd.h
parentremove dead code (diff)
downloadOpenSMTPD-8b849a926e4bc7c6a6c6877b5930f7acc67c2aeb.tar.xz
OpenSMTPD-8b849a926e4bc7c6a6c6877b5930f7acc67c2aeb.zip
sync with OpenBSD:opensmtpd-5.9.1
- introduce listener on socket - bump version to 5.9.1, to be released in May
Diffstat (limited to 'smtpd/smtpd.h')
-rw-r--r--smtpd/smtpd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/smtpd/smtpd.h b/smtpd/smtpd.h
index 6ec482a5..783f96f8 100644
--- a/smtpd/smtpd.h
+++ b/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.511 2016/02/05 19:21:04 jung Exp $ */
+/* $OpenBSD: smtpd.h,v 1.513 2016/02/21 15:17:25 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -52,7 +52,7 @@
#define SMTPD_QUEUE_EXPIRY (4 * 24 * 60 * 60)
#define SMTPD_SOCKET "/var/run/smtpd.sock"
#define SMTPD_NAME "OpenSMTPD"
-#define SMTPD_VERSION "master"
+#define SMTPD_VERSION "5.9.1"
#define SMTPD_SESSION_TIMEOUT 300
#define SMTPD_BACKLOG 5
@@ -613,6 +613,9 @@ struct smtpd {
time_t sc_uptime;
+ /* This is a listener for a local socket used by smtp_enqueue(). */
+ struct listener *sc_sock_listener;
+
TAILQ_HEAD(listenerlist, listener) *sc_listeners;
TAILQ_HEAD(rulelist, rule) *sc_rules;