summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-07-11 20:58:55 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-07-11 20:58:55 +0000
commit80d1e0523c92ec2939d20b61c55aac8dd501373e (patch)
treef39dc88b5e4c0929a851da4d019494eca3ec70fd /usr.sbin/smtpd/smtpd.h
parent68d5d4acf1ba64582d9f55ae219a12145f552f74 (diff)
introduce link-reset to let smtpd report resets happening in a session
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index e231f5375ec..c5029f1464a 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.625 2019/06/27 05:14:49 martijn Exp $ */
+/* $OpenBSD: smtpd.h,v 1.626 2019/07/11 20:58:54 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -311,6 +311,7 @@ enum imsg_type {
IMSG_REPORT_SMTP_LINK_DISCONNECT,
IMSG_REPORT_SMTP_LINK_IDENTIFY,
IMSG_REPORT_SMTP_LINK_TLS,
+ IMSG_REPORT_SMTP_LINK_RESET,
IMSG_REPORT_SMTP_TX_BEGIN,
IMSG_REPORT_SMTP_TX_MAIL,
IMSG_REPORT_SMTP_TX_RCPT,
@@ -1331,6 +1332,7 @@ void lka_report_smtp_link_connect(const char *, struct timeval *, uint64_t, cons
void lka_report_smtp_link_disconnect(const char *, struct timeval *, uint64_t);
void lka_report_smtp_link_identify(const char *, struct timeval *, uint64_t, const char *);
void lka_report_smtp_link_tls(const char *, struct timeval *, uint64_t, const char *);
+void lka_report_smtp_link_reset(const char *, struct timeval *, uint64_t);
void lka_report_smtp_tx_begin(const char *, struct timeval *, uint64_t, uint32_t);
void lka_report_smtp_tx_mail(const char *, struct timeval *, uint64_t, uint32_t, const char *, int);
void lka_report_smtp_tx_rcpt(const char *, struct timeval *, uint64_t, uint32_t, const char *, int);
@@ -1498,6 +1500,7 @@ void report_smtp_link_connect(const char *, uint64_t, const char *, int,
void report_smtp_link_disconnect(const char *, uint64_t);
void report_smtp_link_identify(const char *, uint64_t, const char *);
void report_smtp_link_tls(const char *, uint64_t, const char *);
+void report_smtp_link_reset(const char *, uint64_t);
void report_smtp_tx_begin(const char *, uint64_t, uint32_t);
void report_smtp_tx_mail(const char *, uint64_t, uint32_t, const char *, int);
void report_smtp_tx_rcpt(const char *, uint64_t, uint32_t, const char *, int);