From 3c8f930edb077352ea48fa018a0e80fee0af339d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 29 Oct 2013 17:41:49 +0000 Subject: - some of the missing set union functionality implemented --- src/set/ibf.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/set/ibf.h') diff --git a/src/set/ibf.h b/src/set/ibf.h index 1099f6aa2..407d14f64 100644 --- a/src/set/ibf.h +++ b/src/set/ibf.h @@ -158,7 +158,7 @@ ibf_create (uint32_t size, uint8_t hash_num); /** - * Insert an element into an IBF. + * Insert a key into an IBF. * * @param ibf the IBF * @param key the element's hash code @@ -167,6 +167,16 @@ void ibf_insert (struct InvertibleBloomFilter *ibf, struct IBF_Key key); +/** + * Remove a key from an IBF. + * + * @param ibf the IBF + * @param key the element's hash code + */ +void +ibf_remove (struct InvertibleBloomFilter *ibf, struct IBF_Key key); + + /** * Subtract ibf2 from ibf1, storing the result in ibf1. * The two IBF's must have the same parameters size and hash_num. -- cgit v1.2.3