aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-01-16 12:29:57 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-01-16 12:29:57 +0000
commit8a5993b15da336afade45be6ee4619a39561956a (patch)
tree362f51ad0697f94ded8990cafd82ae7793d6c1be /src/transport/gnunet-service-transport.h
parentb0c00af6d9eee5788c0220da6e427e8bacf81637 (diff)
downloadgnunet-8a5993b15da336afade45be6ee4619a39561956a.tar.gz
gnunet-8a5993b15da336afade45be6ee4619a39561956a.zip
documentation for transport service
Diffstat (limited to 'src/transport/gnunet-service-transport.h')
-rw-r--r--src/transport/gnunet-service-transport.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h
index 34ed61f9e..67456bd46 100644
--- a/src/transport/gnunet-service-transport.h
+++ b/src/transport/gnunet-service-transport.h
@@ -82,22 +82,14 @@ typedef void
82 82
83/** 83/**
84 * Function called by the transport for each received message. 84 * Function called by the transport for each received message.
85 * This function should also be called with "NULL" for the
86 * message to signal that the other peer disconnected.
87 * 85 *
88 * @param cls closure, const char* with the name of the plugin we received the message from 86 * @param cls closure, const char* with the name of the plugin we received the message from
89 * @param peer (claimed) identity of the other peer 87 * @param address address and (claimed) identity of the other peer
90 * @param message the message, NULL if we only care about 88 * @param message the message, NULL if we only care about
91 * learning about the delay until we should receive again -- FIXME! 89 * learning about the delay until we should receive again
92 * @param session identifier used for this session (NULL for plugins 90 * @param session identifier used for this session (NULL for plugins
93 * that do not offer bi-directional communication to the sender 91 * that do not offer bi-directional communication to the sender
94 * using the same "connection") 92 * using the same "connection")
95 * @param sender_address binary address of the sender (if we established the
96 * connection or are otherwise sure of it; should be NULL
97 * for inbound TCP/UDP connections since it it not clear
98 * that we could establish ourselves a connection to that
99 * IP address and get the same system)
100 * @param sender_address_len number of bytes in sender_address
101 * @return how long the plugin should wait until receiving more data 93 * @return how long the plugin should wait until receiving more data
102 * (plugins that do not support this, can ignore the return value) 94 * (plugins that do not support this, can ignore the return value)
103 */ 95 */