TLS: refactor client-start interface
[exim.git] / src / src / structs.h
index ac3efa587633c0ef66857713401751265e7dc845..8c229236c7340615d1fd0d835f491dcc096dcfb4 100644 (file)
@@ -800,6 +800,11 @@ typedef struct {
   host_item *           host;
   int                   host_af;
   uschar *              interface;
+
+#if defined(SUPPORT_TLS) && defined(SUPPORT_DANE)
+  BOOL dane:1;                 /* connection must do dane */
+  dns_answer           tlsa_dnsa;
+#endif
 } smtp_connect_args;
 
 /* A client-initiated connection. If TLS, the second element is non-NULL */