Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / include / gnunet_set_service.h
index f9b477f47e6250c50593c0edfad75a62566c79bb..6e822d82e75b682a89a30158bbdda4b79e5b5afb 100644 (file)
@@ -219,6 +219,10 @@ struct GNUNET_SET_Element
  */
 enum GNUNET_SET_OptionType
 {
+  /**
+   * List terminator.
+   */
+  GNUNET_SET_OPTION_END=0,
   /**
    * Fail set operations when the other peer shows weird behavior
    * that might by a Byzantine fault.
@@ -275,11 +279,13 @@ typedef void
  *
  * @param cls closure
  * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK
+ * @param current_size current set size
  * @param status see `enum GNUNET_SET_Status`
  */
 typedef void
 (*GNUNET_SET_ResultIterator) (void *cls,
                               const struct GNUNET_SET_Element *element,
+                              uint64_t current_size,
                               enum GNUNET_SET_Status status);
 
 /**