summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/parser.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-01-04 19:37:42 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-01-04 19:37:42 +0000
commit5f61b60a6b0e894f17c28cac99a3482809e5c91c (patch)
tree3e4780b60352ac89371bc06211486df130824e86 /usr.sbin/smtpd/parser.h
parent199a745fdcd9bc8c19dce443d37061a3fc8dc147 (diff)
- runner is now capable of pausing/resuming the scheduling of deliveries
for both mda and mta batches. - smtpctl can be used to disable/enable deliveries at runtime using the pause/resume commands. ok jacekm@
Diffstat (limited to 'usr.sbin/smtpd/parser.h')
-rw-r--r--usr.sbin/smtpd/parser.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/parser.h b/usr.sbin/smtpd/parser.h
index f4d5351b1eb..0b10607ef8a 100644
--- a/usr.sbin/smtpd/parser.h
+++ b/usr.sbin/smtpd/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.3 2008/12/27 16:45:01 jacekm Exp $ */
+/* $OpenBSD: parser.h,v 1.4 2009/01/04 19:37:41 gilles Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -22,7 +22,11 @@ enum actions {
RELOAD,
MONITOR,
SHOW_QUEUE,
- SHOW_RUNQUEUE
+ SHOW_RUNQUEUE,
+ PAUSE_MDA,
+ PAUSE_MTA,
+ RESUME_MDA,
+ RESUME_MTA,
};
struct parse_result {