Debug: feed startup "whats supported" info through normal debug channel
[exim.git] / src / src / lookupapi.h
index a3380527c5f4d5505bc7f0861e0697aba7301334..d8364dbb9970c278db9e8b1559491ed1985b1b44 100644 (file)
@@ -3,6 +3,7 @@
 *************************************************/
 
 /* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) The Exim Maintainers 2020 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 
@@ -42,8 +43,8 @@ typedef struct lookup_info {
   uschar *(*quote)(               /* quoting function */
     uschar *,                     /* string to quote */
     uschar *);                    /* additional data from quote name */
-  void (*version_report)(         /* diagnostic function */
-    FILE *);                      /* fh to write to */
+  gstring * (*version_report)(    /* diagnostic function */
+    gstring *);                   /* true: stdout.  false: debug */
 } lookup_info;
 
 /* This magic number is used by the following lookup_module_info structure