diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-27 15:48:21 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-11-28 14:19:19 +0100 |
commit | 1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd (patch) | |
tree | 1430a3f718efb401180afbdfff55f0d23ac9912b /source3/include | |
parent | 62afdb9cc056da4ba7a873e6bce00b4f2c32f4a4 (diff) | |
download | samba-1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd.tar.gz samba-1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd.tar.bz2 samba-1a91fe90b6a1f50c641ce4d778f49ce4c121b9dd.zip |
s3: Add gencache_iterate_blobs
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |