From 1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 27 Nov 2010 15:48:21 +0100 Subject: s3: Add gencache_iterate_blobs --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 0af158c537..9f00e6da5c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -556,6 +556,9 @@ bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, 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_blobs(void (*fn)(const char *key, DATA_BLOB value, + time_t timeout, void *private_data), + void *private_data, const char *pattern); void gencache_iterate(void (*fn)(const char* key, const char *value, time_t timeout, void* dptr), void* data, const char* keystr_pattern); -- cgit