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
OpenSSL: Fix memory leak during multi-message connections using STARTTLS
[exim.git]
/
src
/
src
/
lookupapi.h
diff --git
a/src/src/lookupapi.h
b/src/src/lookupapi.h
index 9c646e6e654948c314ff29e166cbc50cb138c323..9055f52397b40043c01e9afc7d5faaa9ba4b1ece 100644
(file)
--- a/
src/src/lookupapi.h
+++ b/
src/src/lookupapi.h
@@
-2,7
+2,7
@@
* 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. */
@@
-34,7
+34,7
@@
typedef struct lookup_info {
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 */
-
BOOL *); /* to request cache cleanup
*/
+
uint *); /* cache TTL, seconds
*/
void (*close)( /* close function */
void *); /* handle */
void (*tidy)(void); /* tidy function */
void (*close)( /* close function */
void *); /* handle */
void (*tidy)(void); /* tidy function */
@@
-46,9
+46,10
@@
typedef struct lookup_info {
} 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"LMM2
" */
-#define LOOKUP_MODULE_INFO_MAGIC 0x4c4d4
d32
+ for checking API compatibility. It
used to be equivalent to the string"LMM3
" */
+#define LOOKUP_MODULE_INFO_MAGIC 0x4c4d4
933
/* Version 2 adds: version_report */
/* Version 2 adds: version_report */
+/* Version 3 change: non/cache becomes TTL in seconds */
typedef struct lookup_module_info {
uint magic;
typedef struct lookup_module_info {
uint magic;