diff options
Diffstat (limited to 'src/set/ibf.h')
-rw-r--r-- | src/set/ibf.h | 12 |
1 files changed, 11 insertions, 1 deletions
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); | |||
158 | 158 | ||
159 | 159 | ||
160 | /** | 160 | /** |
161 | * Insert an element into an IBF. | 161 | * Insert a key into an IBF. |
162 | * | 162 | * |
163 | * @param ibf the IBF | 163 | * @param ibf the IBF |
164 | * @param key the element's hash code | 164 | * @param key the element's hash code |
@@ -168,6 +168,16 @@ ibf_insert (struct InvertibleBloomFilter *ibf, struct IBF_Key key); | |||
168 | 168 | ||
169 | 169 | ||
170 | /** | 170 | /** |
171 | * Remove a key from an IBF. | ||
172 | * | ||
173 | * @param ibf the IBF | ||
174 | * @param key the element's hash code | ||
175 | */ | ||
176 | void | ||
177 | ibf_remove (struct InvertibleBloomFilter *ibf, struct IBF_Key key); | ||
178 | |||
179 | |||
180 | /** | ||
171 | * Subtract ibf2 from ibf1, storing the result in ibf1. | 181 | * Subtract ibf2 from ibf1, storing the result in ibf1. |
172 | * The two IBF's must have the same parameters size and hash_num. | 182 | * The two IBF's must have the same parameters size and hash_num. |
173 | * | 183 | * |