{
driver_info * di;
int len;
+#ifdef LOOKUP_MODULE_DIR
DIR * dd;
+#endif
/* First scan the list of driver seen so far. */
store_pool = POOL_PERM;
{
driver_info ** anchor = (driver_info **) &auths_available;
- extern auth_info cram_md5_auth_info;
- extern auth_info cyrus_sasl_auth_info;
- extern auth_info dovecot_auth_info;
- extern auth_info external_auth_info;
- extern auth_info gsasl_auth_info;
- extern auth_info heimdal_gssapi_auth_info;
- extern auth_info plaintext_auth_info;
- extern auth_info spa_auth_info;
- extern auth_info tls_auth_info;
/* Add the transport drivers that are built for static linkage to the
list of availables. */
#if defined(AUTH_CRAM_MD5) && AUTH_CRAM_MD5!=2
+ extern auth_info cram_md5_auth_info;
add_driver_info(anchor, &cram_md5_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_CYRUS_SASL) && AUTH_CYRUS_SASL!=2
+ extern auth_info cyrus_sasl_auth_info;
add_driver_info(anchor, &cyrus_sasl_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_DOVECOT) && AUTH_DOVECOT!=2
+ extern auth_info dovecot_auth_info;
add_driver_info(anchor, &dovecot_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_EXTERNAL) && AUTH_EXTERNAL!=2
+ extern auth_info external_auth_info;
add_driver_info(anchor, &external_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_GSASL) && AUTH_GSASL!=2
+ extern auth_info gsasl_auth_info;
add_driver_info(anchor, &gsasl_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_HEIMDAL_GSSAPI) && AUTH_HEIMDAL_GSSAPI!=2
+ extern auth_info heimdal_gssapi_auth_info;
add_driver_info(anchor, &heimdal_gssapi_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_PLAINTEXT) && AUTH_PLAINTEXT!=2
+ extern auth_info plaintext_auth_info;
add_driver_info(anchor, &plaintext_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_SPA) && AUTH_SPA!=2
+ extern auth_info spa_auth_info;
add_driver_info(anchor, &spa_auth_info.drinfo, sizeof(auth_info));
#endif
#if defined(AUTH_TLS) && AUTH_TLS!=2
+ extern auth_info tls_auth_info;
add_driver_info(anchor, &tls_auth_info.drinfo, sizeof(auth_info));
#endif
}
store_pool = POOL_PERM;
{
driver_info ** anchor = (driver_info **) &routers_available;
- extern router_info accept_router_info;
- extern router_info dnslookup_router_info;
- extern router_info ipliteral_router_info;
- extern router_info iplookup_router_info;
- extern router_info manualroute_router_info;
- extern router_info redirect_router_info;
- extern router_info queryprogram_router_info;
/* Add the router drivers that are built for static linkage to the
list of availables. */
#if defined(ROUTER_ACCEPT) && ROUTER_ACCEPT!=2
+ extern router_info accept_router_info;
add_driver_info(anchor, &accept_router_info.drinfo, sizeof(router_info));
#endif
#if defined(ROUTER_DNSLOOKUP) && ROUTER_DNSLOOKUP!=2
+ extern router_info dnslookup_router_info;
add_driver_info(anchor, &dnslookup_router_info.drinfo, sizeof(router_info));
#endif
# if defined(ROUTER_IPLITERAL) && ROUTER_IPLITERAL!=2
+ extern router_info ipliteral_router_info;
add_driver_info(anchor, &ipliteral_router_info.drinfo, sizeof(router_info));
#endif
#if defined(ROUTER_IPLOOKUP) && ROUTER_IPLOOKUP!=2
+ extern router_info iplookup_router_info;
add_driver_info(anchor, &iplookup_router_info.drinfo, sizeof(router_info));
#endif
#if defined(ROUTER_MANUALROUTE) && ROUTER_MANUALROUTE!=2
+ extern router_info manualroute_router_info;
add_driver_info(anchor, &manualroute_router_info.drinfo, sizeof(router_info));
#endif
#if defined(ROUTER_REDIRECT) && ROUTER_REDIRECT!=2
+ extern router_info redirect_router_info;
add_driver_info(anchor, &redirect_router_info.drinfo, sizeof(router_info));
#endif
#if defined(ROUTER_QUERYPROGRAM) && ROUTER_QUERYPROGRAM!=2
+ extern router_info queryprogram_router_info;
add_driver_info(anchor, &queryprogram_router_info.drinfo, sizeof(router_info));
#endif
}
static uschar cnumber_buffer[24];
static uschar date_buffer[32];
-uschar today[20];
uschar *version_cnumber_format;
int cnumber =
Ustrncat(version_date, EXIM_BUILD_DATE_OVERRIDE, sizeof(date_buffer));
#else
-Ustrcpy(today, US __DATE__);
-if (today[4] == ' ') today[4] = '0';
-today[3] = today[6] = '-';
+ {
+ uschar today[20];
+ Ustrcpy(today, US __DATE__);
+ if (today[4] == ' ') today[4] = '0';
+ today[3] = today[6] = '-';
-version_date = date_buffer;
-version_date[0] = 0;
-Ustrncat(version_date, today+4, 3);
-Ustrncat(version_date, today, 4);
-Ustrncat(version_date, today+7, 4);
-Ustrcat(version_date, US" ");
-Ustrcat(version_date, US __TIME__);
+ version_date = date_buffer;
+ version_date[0] = 0;
+ Ustrncat(version_date, today+4, 3);
+ Ustrncat(version_date, today, 4);
+ Ustrncat(version_date, today+7, 4);
+ Ustrcat(version_date, US" ");
+ Ustrcat(version_date, US __TIME__);
+ }
#endif
}