r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0
[ira/wip.git] / source / lib / tdb / common / tdb.c
index 52e2d633b0a39a56c092485410945b4888db6a52..8d067ebeccf8eeb2f445ff8d650e9a2b15fae198 100644 (file)
@@ -423,3 +423,8 @@ int tdb_get_seqnum(struct tdb_context *tdb)
        tdb_ofs_read(tdb, TDB_SEQNUM_OFS, &seqnum);
        return seqnum;
 }
+
+int tdb_hash_size(struct tdb_context *tdb)
+{
+       return tdb->header.hash_size;
+}