Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / rps / gnunet-service-rps_sampler_elem.h
index b7224331df624abd13a829cc3918c59897ff1894..bbf2c147bd6b77a0f5e7040abe74e0028f5a6781 100644 (file)
@@ -108,7 +108,7 @@ RPS_sampler_elem_reinit (struct RPS_SamplerElement *sampler_el);
 
 
 /**
- * (Re)Initialise given Sampler with random min-wise independent function.
+ * Create a sampler element and initialise it.
  *
  * In this implementation this means choosing an auth_key for later use in
  * a hmac at random.
@@ -119,6 +119,15 @@ struct RPS_SamplerElement *
 RPS_sampler_elem_create (void);
 
 
+/**
+ * Destroy a sampler element.
+ *
+ * @param sampler_elem the element to destroy
+ */
+void
+RPS_sampler_elem_destroy (struct RPS_SamplerElement *sampler_elem);
+
+
 /**
  * Input an PeerID into the given sampler element.
  *