summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-03-15 19:32:12 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-03-15 19:32:12 +0000
commitdb787728ab081e9d84b26e1a98431526e1420c27 (patch)
tree007e0982bc7220c430950974142d89decb587d7a /usr.sbin/smtpd/smtpd.h
parentb6b944aa351d07fa3a8e68b0f477b46eac779338 (diff)
since we are going to share code in smtp sessions and mta sessions, we need
to also share the statistics structure, still being worked on
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 9cd19ee4789..de160ccd98f 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.93 2009/03/15 19:15:25 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.94 2009/03/15 19:32:11 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -663,7 +663,7 @@ struct s_runner {
size_t active;
};
-struct s_smtp {
+struct s_session {
size_t sessions;
size_t sessions_active;
@@ -682,7 +682,8 @@ struct stats {
struct s_parent parent;
struct s_queue queue;
struct s_runner runner;
- struct s_smtp smtp;
+ struct s_session smtp;
+ struct s_session mta;
} u;
};