projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'identity_abe' into identity_oidc
[oweals/gnunet.git]
/
src
/
include
/
gnunet_transport_core_service.h
diff --git
a/src/include/gnunet_transport_core_service.h
b/src/include/gnunet_transport_core_service.h
index 6dada4f54effe4aa3788fa6f6431f16374b02f50..bbb5bafbf110b2fd1554109ebd3d6780f17363dd 100644
(file)
--- a/
src/include/gnunet_transport_core_service.h
+++ b/
src/include/gnunet_transport_core_service.h
@@
-60,7
+60,10
@@
struct GNUNET_TRANSPORT_CoreHandle;
* peer connected to us.
*
* @param cls closure
* 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
*/
* @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.
*
* connect notification will be destroyed and must not be used
* henceforth.
*
- * @param cls closure from #GNUNET_TRANSPORT_co
nnecT
+ * @param cls closure from #GNUNET_TRANSPORT_co
re_connect
* @param peer the peer that disconnected
* @param handlers_cls closure of the handlers, was returned from the
* connect notification callback
* @param peer the peer that disconnected
* @param handlers_cls closure of the handlers, was returned from the
* connect notification callback