diff options
author | Simo Sorce <idra@samba.org> | 2008-12-22 17:30:41 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-12-22 18:52:37 -0500 |
commit | 9e1e585aa2740bd55bd60d965bd6c271ee9caa2e (patch) | |
tree | 02d225bc01207e2838e056a175d91f14576698dd /tdb/include | |
parent | 6582952ae76c03c53227499028652b47692448e4 (diff) | |
download | sssd-9e1e585aa2740bd55bd60d965bd6c271ee9caa2e.tar.gz sssd-9e1e585aa2740bd55bd60d965bd6c271ee9caa2e.tar.xz sssd-9e1e585aa2740bd55bd60d965bd6c271ee9caa2e.zip |
Rebase tdb code with all changes in samba master
Diffstat (limited to 'tdb/include')
-rw-r--r-- | tdb/include/tdb.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |