summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-23 15:21:40 +0200
committerVolker Lendecke <vl@samba.org>2009-09-23 18:50:33 +0200
commit76d95b9a2dcfff9df1865ffff74f0e9c32bce609 (patch)
tree885a46adcfeccb1b8b3cf631f9f0bdc58dee676d /source3/include
parentadf66e75c060e6462b9f8819944d0f8ff1ef2c1b (diff)
downloadsamba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.gz
samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.bz2
samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.zip
s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
This is set to true if the routine returns failure due to an existing but expired entry.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f2350e7d88..d664a26949 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -535,7 +535,7 @@ bool gencache_set(const char *keystr, const char *value, time_t timeout);
bool gencache_del(const char *keystr);
bool gencache_get(const char *keystr, char **valstr, time_t *timeout);
bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob,
- time_t *timeout);
+ time_t *timeout, bool *was_expired);
bool gencache_stabilize(void);
bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, time_t timeout);
void gencache_iterate(void (*fn)(const char* key, const char *value, time_t timeout, void* dptr),