Assorted typo fixes in comments.
[adu.git] / bloom.h
diff --git a/bloom.h b/bloom.h
index e7f3cd33dc2018d03f410064731c0a8be97b6e59..806dde49977b96ecd3f666766a5a8baa00ded6f4 100644 (file)
--- a/bloom.h
+++ b/bloom.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -20,7 +20,6 @@ struct bloom {
        uint8_t *filter;
 };
 
        uint8_t *filter;
 };
 
-int bloom_init(unsigned bloom_filter_order, unsigned num_hash_functions,
-               struct bloom **result);
+struct bloom *bloom_new(unsigned order, unsigned num_hash_functions);
 void bloom_free(struct bloom *b);
 void bloom_free(struct bloom *b);
-int bloom_test_and_insert(const uint8_t *data, size_t len, struct bloom *b);
+int bloom_insert(const uint8_t *data, size_t len, struct bloom *b);