* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) Jeremy Harris 2016 */
+/* Copyright (c) Jeremy Harris 1995 - 2018 */
/* See the file NOTICE for conditions of use and distribution. */
/* This file provides an Exim authenticator driver for
optionlist auth_tls_options[] = {
{ "server_param", opt_stringptr,
- (void *)(offsetof(auth_tls_options_block, server_param1)) },
+ OPT_OFF(auth_tls_options_block, server_param1) },
{ "server_param1", opt_stringptr,
- (void *)(offsetof(auth_tls_options_block, server_param1)) },
+ OPT_OFF(auth_tls_options_block, server_param1) },
{ "server_param2", opt_stringptr,
- (void *)(offsetof(auth_tls_options_block, server_param2)) },
+ OPT_OFF(auth_tls_options_block, server_param2) },
{ "server_param3", opt_stringptr,
- (void *)(offsetof(auth_tls_options_block, server_param3)) },
+ OPT_OFF(auth_tls_options_block, server_param3) },
};
/* Size of the options list. An extern variable has to be used so that its
};
+#ifdef MACRO_PREDEF
+
+/* Dummy values */
+void auth_tls_init(auth_instance *ablock) {}
+int auth_tls_server(auth_instance *ablock, uschar *data) {return 0;}
+int auth_tls_client(auth_instance *ablock, void * sx,
+ int timeout, uschar *buffer, int buffsize) {return 0;}
+
+#else /*!MACRO_PREDEF*/
+
+
+
+
/*************************************************
* Initialization entry point *
*************************************************/
}
+#endif /*!MACRO_PREDEF*/
/* End of tls.c */