projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tdb2: copy tdb1's changed expansion logic.
[ccan]
/
ccan
/
tdb2
/
private.h
diff --git
a/ccan/tdb2/private.h
b/ccan/tdb2/private.h
index da1f0a2c77c0995da5f4bc7f70b381c4dbeb2d56..ba7de3be5e2939892bda7b9a5bd6fbf579588eee 100644
(file)
--- a/
ccan/tdb2/private.h
+++ b/
ccan/tdb2/private.h
@@
-425,6
+425,9
@@
tdb_off_t bucket_off(tdb_off_t ftable_off, unsigned bucket);
/* Used by tdb_summary */
tdb_off_t dead_space(struct tdb_context *tdb, tdb_off_t off);
/* Used by tdb_summary */
tdb_off_t dead_space(struct tdb_context *tdb, tdb_off_t off);
+/* Adjust expansion, used by create_recovery_area */
+tdb_off_t tdb_expand_adjust(tdb_off_t map_size, tdb_off_t size);
+
/* io.c: */
/* Initialize tdb->methods. */
void tdb_io_init(struct tdb_context *tdb);
/* io.c: */
/* Initialize tdb->methods. */
void tdb_io_init(struct tdb_context *tdb);