diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-04 08:22:43 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-09-05 09:16:22 -0700 |
commit | 1173fed9165dffb79cfb119b6e80e379a6fd85ba (patch) | |
tree | 307be2938428f3fc6c8ad236d343a04f452ecfea /source3/include | |
parent | 46131cb8023a883238b67e668be2afbc4adcf1f5 (diff) | |
download | samba-1173fed9165dffb79cfb119b6e80e379a6fd85ba.tar.gz samba-1173fed9165dffb79cfb119b6e80e379a6fd85ba.tar.bz2 samba-1173fed9165dffb79cfb119b6e80e379a6fd85ba.zip |
lib: Add "mem_ctx" to gencache_get_data_blob
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 078d0398d5..5985d23b65 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -112,7 +112,8 @@ bool gencache_parse(const char *keystr, void (*parser)(time_t timeout, DATA_BLOB blob, void *private_data), void *private_data); -bool gencache_get_data_blob(const char *keystr, DATA_BLOB *blob, +bool gencache_get_data_blob(const char *keystr, TALLOC_CTX *mem_ctx, + 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); |