summaryrefslogtreecommitdiff
path: root/c_src/filebuffer.h
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2016-11-30 16:46:37 +0100
committerMagnus Ahltorp <map@kth.se>2016-11-30 16:46:37 +0100
commit47c8ae43bf83b73d16257784e8afc957175489c0 (patch)
tree1a4de284724cd229639eebdffaadfa61c46aab74 /c_src/filebuffer.h
parent5fab0fd188242f08431dee0bff62a3028d262b6d (diff)
Recover from extra data at end of index file
Diffstat (limited to 'c_src/filebuffer.h')
-rw-r--r--c_src/filebuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/filebuffer.h b/c_src/filebuffer.h
index b2fb7ef..f98d20d 100644
--- a/c_src/filebuffer.h
+++ b/c_src/filebuffer.h
@@ -27,6 +27,8 @@ uint64_t
bf_total_length(buffered_file *file);
uint64_t
bf_lastcommit(buffered_file *file);
+void
+bf_setlastcommit(buffered_file *file, uint64_t lastcommit);
const char *
bf_name(buffered_file *file);