GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
*/
/**
- * @file consensus/strata_estimator.h
+ * @file set/strata_estimator.h
* @brief estimator of set difference
* @author Florian Dold
*/
void
-strata_estimator_insert (struct StrataEstimator *se, struct GNUNET_HashCode *key);
+strata_estimator_insert (struct StrataEstimator *se, struct IBF_Key key);
void
strata_estimator_destroy (struct StrataEstimator *se);
+/**
+ * Make a copy of a strata estimator.
+ *
+ * @param se the strata estimator to copy
+ * @return the copy
+ */
+struct StrataEstimator *
+strata_estimator_dup (struct StrataEstimator *se);
+
+
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif