summaryrefslogtreecommitdiff
path: root/lib/util/util_tdb.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-01-10 11:09:09 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 12:10:24 +0100
commitd8dd0ecc484ccc0c3450c3e96725e56e8bf1a9ef (patch)
tree9bb3965cd637c25c020d79c2a766add45d606103 /lib/util/util_tdb.h
parentd23f19ab00314d773edb07a45e754365db378668 (diff)
downloadsamba-d8dd0ecc484ccc0c3450c3e96725e56e8bf1a9ef.tar.gz
samba-d8dd0ecc484ccc0c3450c3e96725e56e8bf1a9ef.tar.bz2
samba-d8dd0ecc484ccc0c3450c3e96725e56e8bf1a9ef.zip
lib/util_tdb: factor out tdb_data_talloc_copy()
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/util/util_tdb.h')
-rw-r--r--lib/util/util_tdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/util_tdb.h b/lib/util/util_tdb.h
index d8a2333035..630bdf669b 100644
--- a/lib/util/util_tdb.h
+++ b/lib/util/util_tdb.h
@@ -30,6 +30,7 @@ bool tdb_data_equal(TDB_DATA t1, TDB_DATA t2);
bool tdb_data_is_empty(TDB_DATA d);
TDB_DATA string_tdb_data(const char *string);
TDB_DATA string_term_tdb_data(const char *string);
+TDB_DATA tdb_data_talloc_copy(TALLOC_CTX* mem_ctx, TDB_DATA data);
/****************************************************************************
Lock a chain by string. Return non-zero if lock failed.