summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-20 09:48:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:29 -0500
commitd71502b07cc0d113f4555d244bef9f06024907e4 (patch)
tree30acdbc930f90f8f09bfc5f22f72a6f6a65e8bd3 /source4/lib/tdb/common
parent118c064a473562274bff8fb47f37437db904b8fb (diff)
downloadsamba-d71502b07cc0d113f4555d244bef9f06024907e4.tar.gz
samba-d71502b07cc0d113f4555d244bef9f06024907e4.tar.bz2
samba-d71502b07cc0d113f4555d244bef9f06024907e4.zip
r19425: two more tdb functions from samba3
(This used to be commit c9d9d79c34e8a36a6f684b173b1cc861330adc5c)
Diffstat (limited to 'source4/lib/tdb/common')
-rw-r--r--source4/lib/tdb/common/tdb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/tdb.c b/source4/lib/tdb/common/tdb.c
index 8d067ebecc..5810f46d56 100644
--- a/source4/lib/tdb/common/tdb.c
+++ b/source4/lib/tdb/common/tdb.c
@@ -428,3 +428,14 @@ int tdb_hash_size(struct tdb_context *tdb)
{
return tdb->header.hash_size;
}
+
+size_t tdb_map_size(struct tdb_context *tdb)
+{
+ return tdb->map_size;
+}
+
+int tdb_get_flags(struct tdb_context *tdb)
+{
+ return tdb->flags;
+}
+