- comment
authorFlorian Dold <florian.dold@gmail.com>
Tue, 23 Jul 2013 16:24:01 +0000 (16:24 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Tue, 23 Jul 2013 16:24:01 +0000 (16:24 +0000)
src/include/gnunet_set_service.h

index 1e59c02c9a64aff22c5841256f51d439ff3b98ec..78f4468d44d46b394276ef374fdd7e6b8bc55e75 100644 (file)
@@ -192,7 +192,8 @@ typedef void (*GNUNET_SET_ResultIterator) (void *cls,
  * Iterator for set elements.
  *
  * @param cls closure
- * @param element the element
+ * @param element the current element, NULL if all elements have been
+ *        iterated over
  * @return GNUNET_YES to continue iterating, GNUNET_NO to stop.
  */
 typedef int (*GNUNET_SET_ElementIterator) (void *cls,
@@ -396,6 +397,7 @@ GNUNET_SET_operation_cancel (struct GNUNET_SET_OperationHandle *oh);
  * Iterate over all elements in the given set.
  * Note that this operation involves transferring every element of the set
  * from the service to the client, and is thus costly.
+ * Only one iteration per set may be active at the same time.
  *
  * @param set the set to iterate over
  * @param iter the iterator to call for each element