X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Flookupapi.h;h=2a270714bce7989661a1774652fa149cc97cae07;hp=97f92ab3a582df2d2aa12936d0c73f96bed6a9ec;hb=2c17bb02e213012d5d98ebac506a67b23b2cf693;hpb=e6d225ae6e6811d3c88dc201642a2127ff6c11bd diff --git a/src/src/lookupapi.h b/src/src/lookupapi.h index 97f92ab3a..2a270714b 100644 --- a/src/src/lookupapi.h +++ b/src/src/lookupapi.h @@ -1,5 +1,3 @@ -/* $Cambridge$ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ @@ -43,11 +41,14 @@ 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 */ } lookup_info; /* This magic number is used by the following lookup_module_info structure - for checking API compatibility. It's equivalent to the string"LMM1" */ -#define LOOKUP_MODULE_INFO_MAGIC 0x4c4d4d31 + for checking API compatibility. It's equivalent to the string"LMM2" */ +#define LOOKUP_MODULE_INFO_MAGIC 0x4c4d4d32 +/* Version 2 adds: version_report */ typedef struct lookup_module_info { uint magic;