[exim-cvs] Create a hosts_try_dane transport option, does no…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Create a hosts_try_dane transport option, does nothing yet
Gitweb: http://git.exim.org/exim.git/commitdiff/96e47838f9aaea7f89685163bcb01164f4444378
Commit:     96e47838f9aaea7f89685163bcb01164f4444378
Parent:     e682570f275e60cf75f013c234a0561a451ab559
Author:     Todd Lyons <tlyons@???>
AuthorDate: Mon Mar 24 11:24:23 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Tue Jul 29 05:56:50 2014 -0700


    Create a hosts_try_dane transport option, does nothing yet
---
 src/src/transports/smtp.c |    7 +++++++
 src/src/transports/smtp.h |    3 +++
 2 files changed, 10 insertions(+), 0 deletions(-)


diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 40eebe8..2e3a6ce 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -118,6 +118,10 @@ optionlist smtp_transport_options[] = {
 #endif
   { "hosts_try_auth",       opt_stringptr,
       (void *)offsetof(smtp_transport_options_block, hosts_try_auth) },
+#ifdef EXPERIMENTAL_DANE
+  { "hosts_try_dane",       opt_stringptr,
+      (void *)offsetof(smtp_transport_options_block, hosts_try_dane) },
+#endif
 #ifndef DISABLE_PRDR
   { "hosts_try_prdr",       opt_stringptr,
       (void *)offsetof(smtp_transport_options_block, hosts_try_prdr) },
@@ -200,6 +204,9 @@ smtp_transport_options_block smtp_transport_option_defaults = {
   NULL,                /* serialize_hosts */
   NULL,                /* hosts_try_auth */
   NULL,                /* hosts_require_auth */
+#ifdef EXPERIMENTAL_DANE
+  NULL,                /* hosts_try_dane */
+#endif
 #ifndef DISABLE_PRDR
   NULL,                /* hosts_try_prdr */
 #endif
diff --git a/src/src/transports/smtp.h b/src/src/transports/smtp.h
index dd41e1f..018f9cf 100644
--- a/src/src/transports/smtp.h
+++ b/src/src/transports/smtp.h
@@ -21,6 +21,9 @@ typedef struct {
   uschar *serialize_hosts;
   uschar *hosts_try_auth;
   uschar *hosts_require_auth;
+#ifdef EXPERIMENTAL_DANE
+  uschar *hosts_try_dane;
+#endif
 #ifndef DISABLE_PRDR
   uschar *hosts_try_prdr;
 #endif