diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-07-21 23:29:25 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-07-21 23:29:25 +0000 |
commit | b257ff20505962bcb41d4aedce9f2beb71d67894 (patch) | |
tree | 9b98263a355f3cf73a9900c7f71aa4e08d46f1e2 /usr.sbin/smtpd/parser.h | |
parent | 5c0622bec9f8ff5eab32e92654cbba7aa8a56e7b (diff) |
- update smtpctl.8 to reflect reality
- bring back 'smtpctl schedule' and 'smtpctl remove' to life
Things you should know:
The ramqueue data structure is not finished yet and lacks an envelope tree
for evpid lookups. I wanted to wait until I'm done but too many people are
affected by not being able to reschedule envelopes, this is a quick fix.
So right now there's an O(rrible) complexity as both commands will perform
a (possibly aborted) queue scan leading to O(n). I will make that O(log n)
soon.
Also, smtpctl remove no longer supports removing an entire message, I will
fix that very soon too.
Diffstat (limited to 'usr.sbin/smtpd/parser.h')
-rw-r--r-- | usr.sbin/smtpd/parser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/parser.h b/usr.sbin/smtpd/parser.h index 06229ccb929..694fb0096ed 100644 --- a/usr.sbin/smtpd/parser.h +++ b/usr.sbin/smtpd/parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.h,v 1.16 2011/04/13 20:53:18 gilles Exp $ */ +/* $OpenBSD: parser.h,v 1.17 2011/07/21 23:29:24 gilles Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -23,12 +23,14 @@ enum actions { MONITOR, LOG_VERBOSE, LOG_BRIEF, + SCHEDULE, SHOW_QUEUE, SHOW_RUNQUEUE, SHOW_STATS, PAUSE_MDA, PAUSE_MTA, PAUSE_SMTP, + REMOVE, RESUME_MDA, RESUME_MTA, RESUME_SMTP, |