Merge branch 'identity_abe' into identity_oidc
[oweals/gnunet.git] / src / include / gnunet_transport_core_service.h
index 6dada4f54effe4aa3788fa6f6431f16374b02f50..bbb5bafbf110b2fd1554109ebd3d6780f17363dd 100644 (file)
@@ -60,7 +60,10 @@ struct GNUNET_TRANSPORT_CoreHandle;
  * peer connected to us.
  *
  * @param cls closure
- * @param peer the peer that connected
+ * @param peer the identity of the peer that connected; this
+ *        pointer will remain valid until the disconnect, hence
+ *        applications do not necessarily have to make a copy 
+ *        of the value if they only need it until disconnect
  * @param mq message queue to use to transmit to @a peer
  * @return closure to use in MQ handlers
  */
@@ -76,7 +79,7 @@ typedef void *
  * connect notification will be destroyed and must not be used
  * henceforth.
  *
- * @param cls closure from #GNUNET_TRANSPORT_connecT
+ * @param cls closure from #GNUNET_TRANSPORT_core_connect
  * @param peer the peer that disconnected
  * @param handlers_cls closure of the handlers, was returned from the
  *                    connect notification callback