summaryrefslogtreecommitdiff
path: root/checksum.h
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2000-05-05 03:41:09 +0000
committerMartin Pool <mbp@sourcefrog.net>2000-05-05 03:41:09 +0000
commit5cccf3d6eba988dd53d069292bc5e840b29270fa (patch)
treef8ddfb39b94301f4ff92811b29592c390fb36f61 /checksum.h
parent7cca639c3482db95e17f255c627bd5908d197029 (diff)
downloadlibrsync-5cccf3d6eba988dd53d069292bc5e840b29270fa.tar.gz
Split up headers a bit.
Diffstat (limited to 'checksum.h')
-rw-r--r--checksum.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/checksum.h b/checksum.h
new file mode 100644
index 0000000..68dbd98
--- /dev/null
+++ b/checksum.h
@@ -0,0 +1,14 @@
+/* ========================================
+
+ Things to do with searching through the hashtable of blocks from
+ downstream. */
+
+int _hs_find_in_hash(rollsum_t * rollsum,
+ char const *inbuf, int block_len,
+ hs_sum_set_t const *sigs, hs_stats_t *);
+
+int _hs_build_hash_table(hs_sum_set_t *sums);
+
+/*@null@*/ hs_sum_set_t *_hs_read_sum_set(hs_read_fn_t, void *, int block_len);
+void _hs_free_sum_struct(/*@only@*/ hs_sum_set_t *);
+