aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2017-05-25 22:29:47 +0200
committerGilles Chehade <gilles@poolp.org>2017-05-25 22:29:47 +0200
commite56ad3d9781e366b1d134aeb2a0858a9ee195f12 (patch)
treecdedef39c251fb6d8bfc4dc225824e43bf2553c5 /smtpd/smtpd.h
parentfix typo (diff)
downloadOpenSMTPD-e56ad3d9781e366b1d134aeb2a0858a9ee195f12.tar.xz
OpenSMTPD-e56ad3d9781e366b1d134aeb2a0858a9ee195f12.zip
sync with OpenBSD:
- do not build mail/ subdirectory for upcoming MDA refactor - replace explicit_bzero()+free() with freezero() - remove some if (NULL) tests when block function handles NULL - malloc() -> calloc() and realloc() -> recallocarray() - log_warn() should use LOG_ERR not LOG_CRIT - improve allocation construct in mproc.c - fix possible fatal() in a corner SMTPS case - unplug filters - introduce smtpf_session - improve various man pages - fix purge_task() to correctly purge old messages/envelopes - disallow SSL client renegotiation - in table_dump_lookup() display ??? when unknown lookup kind
Diffstat (limited to 'smtpd/smtpd.h')
-rw-r--r--smtpd/smtpd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/smtpd/smtpd.h b/smtpd/smtpd.h
index 069c20a4..a4895156 100644
--- a/smtpd/smtpd.h
+++ b/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.530 2017/02/13 12:23:47 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.531 2017/05/22 13:43:15 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1391,6 +1391,12 @@ void smtp_filter_response(uint64_t, int, int, uint32_t, const char *);
void smtp_filter_fd(uint64_t, int);
+/* smtpf_session.c */
+int smtpf_session(struct listener *, int, const struct sockaddr_storage *,
+ const char *);
+void smtpf_session_imsg(struct mproc *, struct imsg *);
+
+
/* smtpd.c */
void imsg_dispatch(struct mproc *, struct imsg *);
const char *proc_name(enum smtp_proc_type);