tdb: introduce tdb->hdr_ofs
commitcbd73ba1635c061fa71ff0476cbce087b389d1ad
authorVolker Lendecke <vl@samba.org>
Thu, 21 Feb 2013 15:34:32 +0000 (21 16:34 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 22 May 2014 19:05:15 +0000 (22 21:05 +0200)
tree16e67ca6bad58a5c3ba4c58ad77c3683fa74eb4b
parentc29e64d97ee18e9d7946151052d1757084f861c6
tdb: introduce tdb->hdr_ofs

This makes it possible to have some extra headers before
the real tdb content starts in the file.

This will be used used e.g. to implement locking based on robust mutexes.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tdb/common/io.c
lib/tdb/common/open.c
lib/tdb/common/summary.c
lib/tdb/common/tdb_private.h
lib/tdb/test/run-3G-file.c