git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright year updates (things touched in 2015)
[exim.git]
/
src
/
src
/
lookupapi.h
diff --git
a/src/src/lookupapi.h
b/src/src/lookupapi.h
index 97f92ab3a582df2d2aa12936d0c73f96bed6a9ec..cdd1c85bfd1e7d5c8433041f88845f3821a92ded 100644
(file)
--- a/
src/src/lookupapi.h
+++ b/
src/src/lookupapi.h
@@
-1,10
+1,8
@@
-/* $Cambridge$ */
-
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
09
*/
+/* Copyright (c) University of Cambridge 1995 - 20
15
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-32,7
+30,7
@@
typedef struct lookup_info {
int (*find)( /* find function */
void *, /* handle */
uschar *, /* file name or NULL */
int (*find)( /* find function */
void *, /* handle */
uschar *, /* file name or NULL */
-
uschar *,
/* key or query */
+
const uschar *,
/* key or query */
int, /* length of key or query */
uschar **, /* for returning answer */
uschar **, /* for error message */
int, /* length of key or query */
uschar **, /* for returning answer */
uschar **, /* for error message */
@@
-43,11
+41,14
@@
typedef struct lookup_info {
uschar *(*quote)( /* quoting function */
uschar *, /* string to quote */
uschar *); /* additional data from quote name */
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
} 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;
typedef struct lookup_module_info {
uint magic;