aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet-new_channel.c
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.c
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.c')
-rw-r--r--src/cadet/gnunet-service-cadet-new_channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c
index e7a13157b..3d52c67af 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.c
+++ b/src/cadet/gnunet-service-cadet-new_channel.c
@@ -1327,6 +1327,7 @@ data_sent_cb (void *cls)
1327 * buffer space in the tunnel. 1327 * buffer space in the tunnel.
1328 * 1328 *
1329 * @param ch Channel. 1329 * @param ch Channel.
1330 * @param sender client sending the data
1330 * @param buf payload to transmit. 1331 * @param buf payload to transmit.
1331 * @param buf_len number of bytes in @a buf 1332 * @param buf_len number of bytes in @a buf
1332 * @return #GNUNET_OK if everything goes well, 1333 * @return #GNUNET_OK if everything goes well,
@@ -1334,6 +1335,7 @@ data_sent_cb (void *cls)
1334 */ 1335 */
1335int 1336int
1336GCCH_handle_local_data (struct CadetChannel *ch, 1337GCCH_handle_local_data (struct CadetChannel *ch,
1338 struct CadetClient *sender,
1337 const char *buf, 1339 const char *buf,
1338 size_t buf_len) 1340 size_t buf_len)
1339{ 1341{