aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet-new_channel.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-23 14:31:40 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-23 14:31:40 +0100
commita970ad152fbc76fe3b641c02840c5a58348efbd6 (patch)
tree16445951efff2aea84c1697345fc5f6087a2dbc4 /src/cadet/gnunet-service-cadet-new_channel.h
parent55990396cd36175eef320e0ced826639e0945968 (diff)
downloadgnunet-a970ad152fbc76fe3b641c02840c5a58348efbd6.tar.gz
gnunet-a970ad152fbc76fe3b641c02840c5a58348efbd6.zip
add sender argument to GCCH_handle_local_data so we can implement loopback
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.h')
-rw-r--r--src/cadet/gnunet-service-cadet-new_channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_channel.h b/src/cadet/gnunet-service-cadet-new_channel.h
index a473fd3e4..99124f651 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.h
+++ b/src/cadet/gnunet-service-cadet-new_channel.h
@@ -220,6 +220,7 @@ GCCH_handle_remote_destroy (struct CadetChannel *ch);
220 * buffer space in the tunnel. 220 * buffer space in the tunnel.
221 * 221 *
222 * @param ch Channel. 222 * @param ch Channel.
223 * @param sender client sending the data
223 * @param buf payload to transmit. 224 * @param buf payload to transmit.
224 * @param buf_len number of bytes in @a buf 225 * @param buf_len number of bytes in @a buf
225 * @return #GNUNET_OK if everything goes well, 226 * @return #GNUNET_OK if everything goes well,
@@ -227,6 +228,7 @@ GCCH_handle_remote_destroy (struct CadetChannel *ch);
227 */ 228 */
228int 229int
229GCCH_handle_local_data (struct CadetChannel *ch, 230GCCH_handle_local_data (struct CadetChannel *ch,
231 struct CadetClient *sender,
230 const char *buf, 232 const char *buf,
231 size_t buf_len); 233 size_t buf_len);
232 234