X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/56e0c4ce946ae13628c4349f982c3407e1019dd0..6545de78cb822ab5db97a2f16fe7a42cc9488bd8:/src/src/lookups/README diff --git a/src/src/lookups/README b/src/src/lookups/README index cdaf308f3..7490f0a27 100644 --- a/src/src/lookups/README +++ b/src/src/lookups/README @@ -5,7 +5,10 @@ LOOKUPS Each lookup type is implemented by 6 functions, xxx_open(), xxx_check(), xxx_find(), xxx_close(), xxx_tidy(), and xxx_quote(), where xxx is the name of -the lookup type (e.g. lsearch, dbm, or whatever). +the lookup type (e.g. lsearch, dbm, or whatever). In addition, there is +a version reporting function used to trace compile-vs-runtime conflicts and +to help administrators ensure that the modules from the correct build are +in use by the main binary. The xxx_check(), xxx_close(), xxx_tidy(), and xxx_quote() functions need not exist. There is a table in drtables.c which links the lookup names to the @@ -158,4 +161,14 @@ needed, it can return its single argument, which is a uschar *. This function does NOT use the POOL_SEARCH store, because it's usually never called from any lookup code. +xxx_report_version() +-------------------- + +This is called to report diagnostic information to a file stream. +Typically it would report both compile-time and run-time version information. +The arguments are: + + FILE *stream where to fprintf() the data to + + ****