From 8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 4 Sep 2013 08:56:23 +0200 Subject: lib: Add a "mem_ctx" arg to gencache_get (unused so far) Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/proto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 5985d23b65..811fe4fd91 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -107,7 +107,8 @@ struct file_id vfs_file_id_from_sbuf(connection_struct *conn, const SMB_STRUCT_S 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_get(const char *keystr, TALLOC_CTX *mem_ctx, char **value, + time_t *ptimeout); bool gencache_parse(const char *keystr, void (*parser)(time_t timeout, DATA_BLOB blob, void *private_data), -- cgit