From: Christian Grothoff Date: Thu, 3 May 2012 13:49:55 +0000 (+0000) Subject: doxygen X-Git-Tag: initial-import-from-subversion-38251~13694 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=802700f9006acaab256e4222d99c307b8e49aa86;p=oweals%2Fgnunet.git doxygen --- diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index 5b79a17e5..cf2d51cb4 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c @@ -409,7 +409,14 @@ trigger_transmit (struct GNUNET_PEERINFO_Handle *h) * * @param h handle to the peerinfo service * @param hello the verified (!) HELLO message - */ + * @param cont continuation to call when done, NULL is allowed + * @param cont_cls closure for 'cont' + * @return handle to cancel add operation; all pending + * 'add' operations will be cancelled automatically + * on disconnect, so it is not necessary to keep this + * handle (unless 'cont' is NULL and at some point + * calling 'cont' must be prevented) + */ */ struct GNUNET_PEERINFO_AddContext * GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, const struct GNUNET_HELLO_Message *hello,