doxygen
authorChristian Grothoff <christian@grothoff.org>
Thu, 3 May 2012 13:49:55 +0000 (13:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 3 May 2012 13:49:55 +0000 (13:49 +0000)
src/peerinfo/peerinfo_api.c

index 5b79a17e5cf5ed43f108f705a971df26ecc82704..cf2d51cb4718e78d3bf8471f18d5164fcb6b82a8 100644 (file)
@@ -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,