summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-11-15 23:12:45 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-11-15 23:12:45 +0000
commitf5bcbc04394ae539b4fb118e11f9adaac2e2f49c (patch)
treeb93ce8579b2d0eff8aefc7d2e56c716d9f128086
parent4750e43ff9929776128462d977467310317d3f0e (diff)
wooooops defines missing from previous commit
-rw-r--r--usr.sbin/smtpd/queue_fsqueue.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_fsqueue.c b/usr.sbin/smtpd/queue_fsqueue.c
index 4fa72f639c8..07aef0aba12 100644
--- a/usr.sbin/smtpd/queue_fsqueue.c
+++ b/usr.sbin/smtpd/queue_fsqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fsqueue.c,v 1.19 2011/11/15 23:06:39 gilles Exp $ */
+/* $OpenBSD: queue_fsqueue.c,v 1.20 2011/11/15 23:12:44 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -40,7 +40,6 @@
#include "smtpd.h"
#include "log.h"
-#include "queue_fsqueue.h"
static char *fsqueue_getpath(enum queue_kind);
@@ -66,6 +65,17 @@ void *fsqueue_qwalk_new(enum queue_kind, u_int32_t);
int fsqueue_qwalk(void *, u_int64_t *);
void fsqueue_qwalk_close(void *);
+#define PATH_ENQUEUE "/enqueue"
+#define PATH_INCOMING "/incoming"
+#define PATH_QUEUE "/queue"
+#define PATH_PURGE "/purge"
+#define PATH_CORRUPT "/corrupt"
+#define PATH_BOUNCE "/bounce"
+
+#define PATH_MESSAGE "/message"
+#define PATH_ENVELOPES "/envelopes"
+
+
static char *
fsqueue_getpath(enum queue_kind kind)
{