[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 12/14: add sender argument to GCCH_handle_local_da
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 12/14: add sender argument to GCCH_handle_local_data so we can implement loopback |
Date: |
Mon, 23 Jan 2017 14:42:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit a970ad152fbc76fe3b641c02840c5a58348efbd6
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 23 14:31:40 2017 +0100
add sender argument to GCCH_handle_local_data so we can implement loopback
---
src/cadet/gnunet-service-cadet-new.c | 1 +
src/cadet/gnunet-service-cadet-new_channel.c | 2 ++
src/cadet/gnunet-service-cadet-new_channel.h | 2 ++
3 files changed, 5 insertions(+)
diff --git a/src/cadet/gnunet-service-cadet-new.c
b/src/cadet/gnunet-service-cadet-new.c
index c9a2fb437..ef0870158 100644
--- a/src/cadet/gnunet-service-cadet-new.c
+++ b/src/cadet/gnunet-service-cadet-new.c
@@ -715,6 +715,7 @@ handle_data (void *cls,
GCCH_2s (ch));
if (GNUNET_OK !=
GCCH_handle_local_data (ch,
+ c,
buf,
payload_size))
{
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)
* buffer space in the tunnel.
*
* @param ch Channel.
+ * @param sender client sending the data
* @param buf payload to transmit.
* @param buf_len number of bytes in @a buf
* @return #GNUNET_OK if everything goes well,
@@ -1334,6 +1335,7 @@ data_sent_cb (void *cls)
*/
int
GCCH_handle_local_data (struct CadetChannel *ch,
+ struct CadetClient *sender,
const char *buf,
size_t buf_len)
{
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);
* buffer space in the tunnel.
*
* @param ch Channel.
+ * @param sender client sending the data
* @param buf payload to transmit.
* @param buf_len number of bytes in @a buf
* @return #GNUNET_OK if everything goes well,
@@ -227,6 +228,7 @@ GCCH_handle_remote_destroy (struct CadetChannel *ch);
*/
int
GCCH_handle_local_data (struct CadetChannel *ch,
+ struct CadetClient *sender,
const char *buf,
size_t buf_len);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (52255b0df -> ec8163cd8), gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 07/14: handle disconnect properly in test, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 06/14: add generated file to ignore list, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 05/14: get rid of redundant, confusing state, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 12/14: add sender argument to GCCH_handle_local_data so we can implement loopback,
gnunet <=
- [GNUnet-SVN] [gnunet] 10/14: towards path desirability calculations, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 02/14: fix shutdown sequence, start to handle loopback, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 11/14: use correct header size calculation in test, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 01/14: allow more than one ACK being given to us at a time, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 09/14: another special case for loopback, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 13/14: avoid asserting in API on timeout destruction, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 03/14: fix unaligned access, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 04/14: more implementation of loopback handling, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 08/14: beautify disconnect logic a bit, gnunet, 2017/01/23
- [GNUnet-SVN] [gnunet] 14/14: more work on loopback, this time payload transmission (for now without flow control), gnunet, 2017/01/23