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)
downloadgnunet-2584d09e42fcd0f8199b905ca5a43809bbc42aaa.tar.gz
gnunet-2584d09e42fcd0f8199b905ca5a43809bbc42aaa.zip
- 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 1e59c02c9..78f4468d4 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,
192 * Iterator for set elements. 192 * Iterator for set elements.
193 * 193 *
194 * @param cls closure 194 * @param cls closure
195 * @param element the element 195 * @param element the current element, NULL if all elements have been
196 * iterated over
196 * @return GNUNET_YES to continue iterating, GNUNET_NO to stop. 197 * @return GNUNET_YES to continue iterating, GNUNET_NO to stop.
197 */ 198 */
198typedef int (*GNUNET_SET_ElementIterator) (void *cls, 199typedef int (*GNUNET_SET_ElementIterator) (void *cls,
@@ -396,6 +397,7 @@ GNUNET_SET_operation_cancel (struct GNUNET_SET_OperationHandle *oh);
396 * Iterate over all elements in the given set. 397 * Iterate over all elements in the given set.
397 * Note that this operation involves transferring every element of the set 398 * Note that this operation involves transferring every element of the set
398 * from the service to the client, and is thus costly. 399 * from the service to the client, and is thus costly.
400 * Only one iteration per set may be active at the same time.
399 * 401 *
400 * @param set the set to iterate over 402 * @param set the set to iterate over
401 * @param iter the iterator to call for each element 403 * @param iter the iterator to call for each element