From: Florian Dold Date: Tue, 23 Jul 2013 16:24:01 +0000 (+0000) Subject: - comment X-Git-Tag: initial-import-from-subversion-38251~8106 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2584d09e42fcd0f8199b905ca5a43809bbc42aaa;p=oweals%2Fgnunet.git - comment --- 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, * 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