From 9e1e585aa2740bd55bd60d965bd6c271ee9caa2e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 22 Dec 2008 17:30:41 -0500 Subject: Rebase tdb code with all changes in samba master --- tdb/include/tdb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tdb/include') diff --git a/tdb/include/tdb.h b/tdb/include/tdb.h index c41c9941f..94b5e366b 100644 --- a/tdb/include/tdb.h +++ b/tdb/include/tdb.h @@ -152,11 +152,14 @@ int tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key); void tdb_setalarm_sigptr(struct tdb_context *tdb, volatile sig_atomic_t *sigptr); +/* wipe and repack */ +int tdb_wipe_all(struct tdb_context *tdb); +int tdb_repack(struct tdb_context *tdb); + /* Debug functions. Not used in production. */ void tdb_dump_all(struct tdb_context *tdb); int tdb_printfreelist(struct tdb_context *tdb); int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries); -int tdb_wipe_all(struct tdb_context *tdb); int tdb_freelist_size(struct tdb_context *tdb); extern TDB_DATA tdb_null; -- cgit