aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_set_service.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-08-12 14:34:16 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-08-12 14:34:16 +0000
commita9e630d6cbc7f777f157a034b9ebf0c26c93fa68 (patch)
tree32daa00f1fe63ad1cd7dae6e35377ca0bacc8d0b /src/include/gnunet_set_service.h
parente0af01758cb7eec5aea8e942c3d54a71b2c2100b (diff)
downloadgnunet-a9e630d6cbc7f777f157a034b9ebf0c26c93fa68.tar.gz
gnunet-a9e630d6cbc7f777f157a034b9ebf0c26c93fa68.zip
- listener re-connects transparently
- bugs
Diffstat (limited to 'src/include/gnunet_set_service.h')
-rw-r--r--src/include/gnunet_set_service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h
index 43c481035..da6ba1301 100644
--- a/src/include/gnunet_set_service.h
+++ b/src/include/gnunet_set_service.h
@@ -208,8 +208,7 @@ typedef int (*GNUNET_SET_ElementIterator) (void *cls,
208 * @param other_peer the other peer 208 * @param other_peer the other peer
209 * @param context_msg message with application specific information from 209 * @param context_msg message with application specific information from
210 * the other peer 210 * the other peer
211 * @param request request from the other peer, use GNUNET_SET_accept 211 * @param request request from the other peer (never NULL), use GNUNET_SET_accept
212 * Will be NULL if the listener failed.
213 * to accept it, otherwise the request will be refused 212 * to accept it, otherwise the request will be refused
214 * Note that we can't just return value from the listen callback, 213 * Note that we can't just return value from the listen callback,
215 * as it is also necessary to specify the set we want to do the 214 * as it is also necessary to specify the set we want to do the
@@ -315,7 +314,9 @@ GNUNET_SET_prepare (const struct GNUNET_PeerIdentity *other_peer,
315 314
316 315
317/** 316/**
318 * Wait for set operation requests for the given application id 317 * Wait for set operation requests for the given application ID.
318 * If the connection to the set service is lost, the listener is
319 * re-created transparently with exponential backoff.
319 * 320 *
320 * @param cfg configuration to use for connecting to 321 * @param cfg configuration to use for connecting to
321 * the set service 322 * the set service
@@ -336,6 +337,8 @@ GNUNET_SET_listen (const struct GNUNET_CONFIGURATION_Handle *cfg,
336 337
337/** 338/**
338 * Cancel the given listen operation. 339 * Cancel the given listen operation.
340 * After calling cancel, the listen callback for this listen handle
341 * will not be called again.
339 * 342 *
340 * @param lh handle for the listen operation 343 * @param lh handle for the listen operation
341 */ 344 */