git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to pre-4.87 master
[users/jgh/exim.git]
/
src
/
src
/
lookups
/
README
diff --git
a/src/src/lookups/README
b/src/src/lookups/README
index 7490f0a27a8ba263a316bd9244611503bc83d267..31fea64489398d6428da741b5220413cd4f7810f 100644
(file)
--- a/
src/src/lookups/README
+++ b/
src/src/lookups/README
@@
-1,5
+1,3
@@
-$Cambridge: exim/src/src/lookups/README,v 1.2 2005/08/01 13:20:28 ph10 Exp $
-
LOOKUPS
-------
LOOKUPS
-------
@@
-124,12
+122,15
@@
DEFER. The arguments are:
uschar **errmsg where to put an error message on failure;
this is initially set to "", and should be left
as that for a standard "entry not found" error
uschar **errmsg where to put an error message on failure;
this is initially set to "", and should be left
as that for a standard "entry not found" error
-
BOOL *do_cache the lookup should set this to FALSE
when it changes data.
- This is
TRUE by default. When set to FALSE
the cache tree
+
uint *do_cache the lookup should set this to 0
when it changes data.
+ This is
MAXINT by default. When set to 0
the cache tree
of the current search handle will be cleaned and the
current result will NOT be cached. Currently the mysql
and pgsql lookups use this when UPDATE/INSERT queries are
executed.
of the current search handle will be cleaned and the
current result will NOT be cached. Currently the mysql
and pgsql lookups use this when UPDATE/INSERT queries are
executed.
+ If set to a nonzero number of seconds, the cached value
+ becomes unusable after this time. Currently the dnsdb
+ lookup uses this to support the TTL value.
Even though the key is zero-terminated, the length is passed because in the
common case it has been computed already and is often needed.
Even though the key is zero-terminated, the length is passed because in the
common case it has been computed already and is often needed.