X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Freadconf.c;h=875e032222f0ee435f8e5d13bada48673c539e84;hb=12263aa86a56d5d6a8aa6a9daaf285e24ca2a448;hp=bf024efc9ed0488b7fcc1465373e6af8e38669d0;hpb=1bca4f5fc7d74ba4ec1ced72eef8b806ae2be989;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/readconf.c b/src/src/readconf.c index bf024efc9..875e03222 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -409,6 +409,19 @@ for (ai = auths_available; ai->driver_name[0]; ai++) } } +void +options_logging(void) +{ +bit_table * bp; +uschar buf[64]; + +for (bp = log_options; bp < log_options + log_options_count; bp++) + { + spf(buf, sizeof(buf), US"_LOG_%T", bp->name); + builtin_macro_create(buf); + } +} + #else /*!MACRO_PREDEF*/