summaryrefslogtreecommitdiffstats
path: root/lib/util/util_tdb.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-11-07 09:59:37 +0100
committerMichael Adam <obnox@samba.org>2011-12-03 05:20:30 +0100
commitd74b3f941f5e28bf4a98dab6d4be25fbaab200b7 (patch)
tree3d8c95e3983380e2f7335780a74c41742a031421 /lib/util/util_tdb.h
parent789aa9aab2b99ae1466a67e3f505abbc67a3e7cb (diff)
downloadsamba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.tar.gz
samba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.tar.xz
samba-d74b3f941f5e28bf4a98dab6d4be25fbaab200b7.zip
lib/util: factor out tdb_data_is_empty
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Dec 3 05:20:30 CET 2011 on sn-devel-104
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 2d805d7d20..3d03b990c2 100644
--- a/lib/util/util_tdb.h
+++ b/lib/util/util_tdb.h
@@ -27,6 +27,7 @@
****************************************************************/
TDB_DATA make_tdb_data(const uint8_t *dptr, size_t dsize);
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);