summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-09-21 13:23:08 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-09-21 13:23:08 +0000
commitbcfb85f88f264cb5a4b25fbbeb7178a8c9597bcb (patch)
tree2f9e82699344e8affa82d29b5331929eb0e134ec /usr.sbin
parent780831e39df02df837f769cd972954e5130d26fa (diff)
move struct lka_session definition in lka_session.c
ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/lka_session.c19
-rw-r--r--usr.sbin/smtpd/smtpd.h19
2 files changed, 19 insertions, 19 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index 0c88fa307d0..5cfdbc2c1e6 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.30 2012/09/21 10:22:29 eric Exp $ */
+/* $OpenBSD: lka_session.c,v 1.31 2012/09/21 13:23:07 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -39,6 +39,23 @@
#include "smtpd.h"
#include "log.h"
+enum lka_session_flags {
+ F_ERROR = 0x1
+};
+
+struct lka_session {
+ SPLAY_ENTRY(lka_session) nodes;
+ uint64_t id;
+
+ TAILQ_HEAD(, envelope) deliverylist;
+ struct expandtree expandtree;
+
+ uint8_t iterations;
+ uint32_t pending;
+ enum lka_session_flags flags;
+ struct submit_status ss;
+};
+
static void lka_session_fail(struct lka_session *);
static void lka_session_destroy(struct lka_session *);
static void lka_session_pickup(struct lka_session *, struct envelope *);
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index add6f8220c1..1e6ae321f26 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.363 2012/09/21 12:33:32 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.364 2012/09/21 13:23:07 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -686,23 +686,6 @@ struct rulematch {
struct submit_status ss;
};
-enum lka_session_flags {
- F_ERROR = 0x1
-};
-
-struct lka_session {
- SPLAY_ENTRY(lka_session) nodes;
- uint64_t id;
-
- TAILQ_HEAD(, envelope) deliverylist;
- struct expandtree expandtree;
-
- uint8_t iterations;
- uint32_t pending;
- enum lka_session_flags flags;
- struct submit_status ss;
-};
-
struct filter {
TAILQ_ENTRY(filter) f_entry;
pid_t pid;