summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2016-09-04 09:33:50 +0000
committerEric Faurot <eric@cvs.openbsd.org>2016-09-04 09:33:50 +0000
commit4d9e32ac302ab5c483fef4329bf679b3205660c9 (patch)
tree28f70ded5bcbdba8597e6bffae76e9b16d0d3633 /usr.sbin/smtpd/smtpd.h
parent453a09da973208a1fb7eec249b4d31fa3702eb69 (diff)
Remove the "smtpctl stop" command.
The daemon is stopped with kill(1). ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 0b6d3c5f371..10083bc3a33 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.522 2016/09/03 16:06:26 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.523 2016/09/04 09:33:49 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -161,7 +161,7 @@ union lookup {
* Bump IMSG_VERSION whenever a change is made to enum imsg_type.
* This will ensure that we can never use a wrong version of smtpctl with smtpd.
*/
-#define IMSG_VERSION 15
+#define IMSG_VERSION 16
enum imsg_type {
IMSG_NONE,
@@ -195,7 +195,6 @@ enum imsg_type {
IMSG_CTL_REMOVE,
IMSG_CTL_SCHEDULE,
IMSG_CTL_SHOW_STATUS,
- IMSG_CTL_SHUTDOWN,
IMSG_CTL_TRACE_DISABLE,
IMSG_CTL_TRACE_ENABLE,
IMSG_CTL_UPDATE_TABLE,
@@ -572,7 +571,7 @@ struct smtpd {
#define SMTPD_OPT_NOACTION 0x00000002
uint32_t sc_opts;
-#define SMTPD_EXITING 0x00000001
+#define SMTPD_EXITING 0x00000001 /* unused */
#define SMTPD_MDA_PAUSED 0x00000002
#define SMTPD_MTA_PAUSED 0x00000004
#define SMTPD_SMTP_PAUSED 0x00000008