summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-09-02 12:47:07 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-09-02 12:47:07 +0000
commita9cd8b4f408038cc0254e16238a3f06a8d8642e1 (patch)
treea69812cfafabf38eb1ae05b4ec1a39ccd006e6c6 /usr.sbin/smtpd/smtpd.h
parent81085f102207cdc3bca81078a92f527ba109a302 (diff)
Include mbox write errors in "show stats". Suggested by gilles.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 17001345cd6..60ecd2e5ec2 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.137 2009/08/27 11:37:30 jacekm Exp $ */
+/* $OpenBSD: smtpd.h,v 1.138 2009/09/02 12:47:06 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -663,11 +663,16 @@ struct s_session {
size_t delays;
};
+struct s_mda {
+ size_t write_error;
+};
+
struct stats {
struct s_parent parent;
struct s_queue queue;
struct s_runner runner;
struct s_session mta;
+ struct s_mda mda;
struct s_session smtp;
};