aboutsummaryrefslogtreecommitdiff
path: root/bloom.h
diff options
context:
space:
mode:
Diffstat (limited to 'bloom.h')
-rw-r--r--bloom.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bloom.h b/bloom.h
index b9ce422ca2..85ab8e9423 100644
--- a/bloom.h
+++ b/bloom.h
@@ -1,6 +1,9 @@
#ifndef BLOOM_H
#define BLOOM_H
+struct commit;
+struct repository;
+
struct bloom_filter_settings {
/*
* The version of the hashing technique being used.
@@ -73,4 +76,9 @@ void add_key_to_filter(const struct bloom_key *key,
struct bloom_filter *filter,
const struct bloom_filter_settings *settings);
+void init_bloom_filters(void);
+
+struct bloom_filter *get_bloom_filter(struct repository *r,
+ struct commit *c);
+
#endif \ No newline at end of file