X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftdb1.h;h=6f23b6dd2bb834c3d91f9e828365ddf46ea2bce6;hp=2855d0c1b033828acdb50b546f04ebf3f66ff898;hb=e487983a4099b6f760056ff7182f2ff543e6da71;hpb=ef92843f2c74ab9d4fa7f167a2182e5e8955df91 diff --git a/ccan/tdb2/tdb1.h b/ccan/tdb2/tdb1.h index 2855d0c1..6f23b6dd 100644 --- a/ccan/tdb2/tdb1.h +++ b/ccan/tdb2/tdb1.h @@ -38,22 +38,10 @@ void tdb1_set_max_dead(struct tdb_context *tdb, int max_dead); -TDB_DATA tdb1_firstkey(struct tdb_context *tdb); - -TDB_DATA tdb1_nextkey(struct tdb_context *tdb, TDB_DATA key); - -int tdb1_get_seqnum(struct tdb_context *tdb); - -void tdb1_increment_seqnum_nonblock(struct tdb_context *tdb); - uint64_t tdb1_incompatible_hash(const void *key, size_t len, uint64_t seed, void *); /* @} ******************************************************************/ -/* wipe and repack */ -int tdb1_wipe_all(struct tdb_context *tdb); -int tdb1_repack(struct tdb_context *tdb); - extern TDB_DATA tdb1_null; #endif /* tdb1.h */