summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-11 17:44:09 +0200
committerVolker Lendecke <vl@samba.org>2008-07-11 17:53:25 +0200
commitd670d0a09bec3b6900421df17fc9d959545ee953 (patch)
tree0f772cbe645829c2f92219a04f4fad03cd0a27b4 /source3/include
parentd803fa6e46c98cc6cdcacfb0225388d786617f0a (diff)
downloadsamba-d670d0a09bec3b6900421df17fc9d959545ee953.tar.gz
samba-d670d0a09bec3b6900421df17fc9d959545ee953.tar.bz2
samba-d670d0a09bec3b6900421df17fc9d959545ee953.zip
Revert "Remove gencache_[un]lock_entry"
This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059. (This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 278a42a974..9958c91dca 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -606,6 +606,8 @@ bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, bool *expired);
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),
void* data, const char* keystr_pattern);
+int gencache_lock_entry( const char *key );
+void gencache_unlock_entry( const char *key );
/* The following definitions come from lib/genrand.c */