aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_set_service.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-07-23 16:24:01 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-07-23 16:24:01 +0000
commit2584d09e42fcd0f8199b905ca5a43809bbc42aaa (patch)
tree294901450a1c5d682d1a155e5ee12f1182dcf08c /src/include/gnunet_set_service.h
parent8b22d09975edd5b61ec9d11334628d8ab04fcb09 (diff)
- comment
Diffstat (limited to 'src/include/gnunet_set_service.h')
-rw-r--r--src/include/gnunet_set_service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h
index 1e59c02c9a..78f4468d44 100644
--- a/src/include/gnunet_set_service.h
+++ b/src/include/gnunet_set_service.h
@@ -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