summaryrefslogtreecommitdiff
path: root/source3/lib/gencache.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-04 08:56:23 +0200
committerJeremy Allison <jra@samba.org>2013-09-05 09:16:23 -0700
commit8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5 (patch)
treeeed73a2a54d2e811e0bbfae2bbb27a5df6d48436 /source3/lib/gencache.c
parentf630360b7ff07ffd2a22f16d50293949860418ca (diff)
downloadsamba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.gz
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.bz2
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.zip
lib: Add a "mem_ctx" arg to gencache_get (unused so far)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r--source3/lib/gencache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 0d5d9e8815..1ecaad5be5 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -705,7 +705,8 @@ static int stabilize_fn(struct tdb_context *tdb, TDB_DATA key, TDB_DATA val,
* @retval False for failure
**/
-bool gencache_get(const char *keystr, char **value, time_t *ptimeout)
+bool gencache_get(const char *keystr, TALLOC_CTX *mem_ctx, char **value,
+ time_t *ptimeout)
{
DATA_BLOB blob;
bool ret = False;