]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: make summary command handle recovery "dead zone"
[ccan] / ccan / tdb2 / private.h
index 22014759f2b61e6534342e6496a5b2622bfc68ca..aebfa020b1db88f3aaeab574bd905bcb273a0bf6 100644 (file)
@@ -391,6 +391,9 @@ int set_header(struct tdb_context *tdb,
 unsigned int size_to_bucket(tdb_len_t data_len);
 tdb_off_t bucket_off(tdb_off_t flist_off, unsigned bucket);
 
+/* Used by tdb_summary */
+size_t dead_space(struct tdb_context *tdb, tdb_off_t off);
+
 /* io.c: */
 /* Initialize tdb->methods. */
 void tdb_io_init(struct tdb_context *tdb);