From 308518cb6fbc4b635fccd87a770f66cc2e2816f3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 21 Jan 2017 17:51:51 +0100 Subject: some renaming, some code general code cleanup, some logging --- src/cadet/cadet.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/cadet/cadet.h') diff --git a/src/cadet/cadet.h b/src/cadet/cadet.h index a8cd6831a..97372cb80 100644 --- a/src/cadet/cadet.h +++ b/src/cadet/cadet.h @@ -147,7 +147,7 @@ struct GNUNET_CADET_LocalChannelCreateMessage /** * ID of a channel controlled by this client. */ - struct GNUNET_CADET_ClientChannelNumber channel_id; + struct GNUNET_CADET_ClientChannelNumber ccn; /** * Channel's peer @@ -179,7 +179,7 @@ struct GNUNET_CADET_LocalChannelDestroyMessage /** * ID of a channel controlled by this client. */ - struct GNUNET_CADET_ClientChannelNumber channel_id; + struct GNUNET_CADET_ClientChannelNumber ccn; }; @@ -196,7 +196,7 @@ struct GNUNET_CADET_LocalData /** * ID of the channel */ - struct GNUNET_CADET_ClientChannelNumber channel_id; + struct GNUNET_CADET_ClientChannelNumber ccn; /** * Payload follows @@ -218,13 +218,15 @@ struct GNUNET_CADET_LocalAck /** * ID of the channel allowed to send more data. */ - struct GNUNET_CADET_ClientChannelNumber channel_id; + struct GNUNET_CADET_ClientChannelNumber ccn; }; /** * Message to inform the client about channels in the service. + * + * TODO: split into two messages! */ struct GNUNET_CADET_LocalInfo { @@ -237,12 +239,7 @@ struct GNUNET_CADET_LocalInfo /** * ID of the channel allowed to send more data. */ - struct GNUNET_CADET_ClientChannelNumber channel_id; - - /** - * ID of the owner of the channel (can be local peer). - */ -// struct GNUNET_PeerIdentity owner; + struct GNUNET_CADET_ClientChannelNumber ccn; /** * ID of the destination of the channel (can be local peer). @@ -253,6 +250,8 @@ struct GNUNET_CADET_LocalInfo /** * Message to inform the client about one of the peers in the service. + * + * TODO: split into two messages! */ struct GNUNET_CADET_LocalInfoPeer { @@ -284,6 +283,8 @@ struct GNUNET_CADET_LocalInfoPeer /** * Message to inform the client about one of the tunnels in the service. + * + * TODO: split into two messages! */ struct GNUNET_CADET_LocalInfoTunnel { -- cgit v1.2.3