CORE: Document peer_cls
authorJulius Bünger <buenger@mytum.de>
Thu, 1 Nov 2018 14:19:35 +0000 (15:19 +0100)
committerJulius Bünger <buenger@mytum.de>
Thu, 1 Nov 2018 14:19:35 +0000 (15:19 +0100)
src/include/gnunet_core_service.h

index b38f38b69421e49c9f8e4ebb7b7f9d2ac67caa67..b8172c37d4b06da4cd1d14ab71e5ec26a6f098d2 100644 (file)
@@ -88,6 +88,8 @@ struct GNUNET_CORE_Handle;
  *
  * @param cls closure
  * @param peer peer identity this notification is about
+ * @return closure associated with @a peer. given to mq callbacks and
+ *         #GNUNET_CORE_DisconnectEventHandler
  */
 typedef void *
 (*GNUNET_CORE_ConnectEventHandler) (void *cls,
@@ -100,6 +102,8 @@ typedef void *
  *
  * @param cls closure
  * @param peer peer identity this notification is about
+ * @param peer_cls closure associated with peer. given in
+ *        #GNUNET_CORE_ConnectEventHandler
  */
 typedef void
 (*GNUNET_CORE_DisconnectEventHandler) (void *cls,