X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/adaa0e2c25fb6cf60aa9e3c4088915733d073022..16be7f11f59d78ce11f98cd235f6a60d9394d705:/src/src/route.c diff --git a/src/src/route.c b/src/src/route.c index cd44389db..3ca1afbfb 100644 --- a/src/src/route.c +++ b/src/src/route.c @@ -143,6 +143,19 @@ optionlist optionlist_routers[] = { int optionlist_routers_size = sizeof(optionlist_routers)/sizeof(optionlist); +void +readconf_options_routers(void) +{ +struct router_info * ri; + +readconf_options_from_list(optionlist_routers, nelem(optionlist_routers), US"RT"); + +for (ri = routers_available; ri->driver_name[0]; ri++) + { + macro_create(string_sprintf("_DRVR_RTR_%T", ri->driver_name), US"y", FALSE, TRUE); + readconf_options_from_list(ri->options, (unsigned)*ri->options_count, ri->driver_name); + } +} /************************************************* * Set router pointer from name *