summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-27 00:40:25 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-28 14:19:19 +0100
commit9843103b7d2a13b1b8a45b3a1d958700bbf1bcfc (patch)
tree9338e2e5f68cd6d87d98e888d35bbccda4db5200 /source3/include
parentce55d7c9f0c0720f765f549f9b2617cb9a3d2299 (diff)
downloadsamba-9843103b7d2a13b1b8a45b3a1d958700bbf1bcfc.tar.gz
samba-9843103b7d2a13b1b8a45b3a1d958700bbf1bcfc.tar.bz2
samba-9843103b7d2a13b1b8a45b3a1d958700bbf1bcfc.zip
s3: Add gencache_parse
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d199d1e3df..0af158c537 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -548,6 +548,10 @@ void pull_file_id_24(char *buf, struct file_id *id);
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_parse(const char *keystr,
+ void (*parser)(time_t timeout, DATA_BLOB blob,
+ void *private_data),
+ void *private_data);
bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob,
time_t *timeout, bool *was_expired);
bool gencache_stabilize(void);