aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-21 17:51:51 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-21 17:51:51 +0100
commit308518cb6fbc4b635fccd87a770f66cc2e2816f3 (patch)
tree298ce9cf97c35e1447d119c270ceaa13d394275d /src/cadet/cadet.h
parent745cf54e655a9fb40a4ba3643de09a3471ca6ef6 (diff)
downloadgnunet-308518cb6fbc4b635fccd87a770f66cc2e2816f3.tar.gz
gnunet-308518cb6fbc4b635fccd87a770f66cc2e2816f3.zip
some renaming, some code general code cleanup, some logging
Diffstat (limited to 'src/cadet/cadet.h')
-rw-r--r--src/cadet/cadet.h21
1 files changed, 11 insertions, 10 deletions
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
147 /** 147 /**
148 * ID of a channel controlled by this client. 148 * ID of a channel controlled by this client.
149 */ 149 */
150 struct GNUNET_CADET_ClientChannelNumber channel_id; 150 struct GNUNET_CADET_ClientChannelNumber ccn;
151 151
152 /** 152 /**
153 * Channel's peer 153 * Channel's peer
@@ -179,7 +179,7 @@ struct GNUNET_CADET_LocalChannelDestroyMessage
179 /** 179 /**
180 * ID of a channel controlled by this client. 180 * ID of a channel controlled by this client.
181 */ 181 */
182 struct GNUNET_CADET_ClientChannelNumber channel_id; 182 struct GNUNET_CADET_ClientChannelNumber ccn;
183}; 183};
184 184
185 185
@@ -196,7 +196,7 @@ struct GNUNET_CADET_LocalData
196 /** 196 /**
197 * ID of the channel 197 * ID of the channel
198 */ 198 */
199 struct GNUNET_CADET_ClientChannelNumber channel_id; 199 struct GNUNET_CADET_ClientChannelNumber ccn;
200 200
201 /** 201 /**
202 * Payload follows 202 * Payload follows
@@ -218,13 +218,15 @@ struct GNUNET_CADET_LocalAck
218 /** 218 /**
219 * ID of the channel allowed to send more data. 219 * ID of the channel allowed to send more data.
220 */ 220 */
221 struct GNUNET_CADET_ClientChannelNumber channel_id; 221 struct GNUNET_CADET_ClientChannelNumber ccn;
222 222
223}; 223};
224 224
225 225
226/** 226/**
227 * Message to inform the client about channels in the service. 227 * Message to inform the client about channels in the service.
228 *
229 * TODO: split into two messages!
228 */ 230 */
229struct GNUNET_CADET_LocalInfo 231struct GNUNET_CADET_LocalInfo
230{ 232{
@@ -237,12 +239,7 @@ struct GNUNET_CADET_LocalInfo
237 /** 239 /**
238 * ID of the channel allowed to send more data. 240 * ID of the channel allowed to send more data.
239 */ 241 */
240 struct GNUNET_CADET_ClientChannelNumber channel_id; 242 struct GNUNET_CADET_ClientChannelNumber ccn;
241
242 /**
243 * ID of the owner of the channel (can be local peer).
244 */
245// struct GNUNET_PeerIdentity owner;
246 243
247 /** 244 /**
248 * ID of the destination of the channel (can be local peer). 245 * ID of the destination of the channel (can be local peer).
@@ -253,6 +250,8 @@ struct GNUNET_CADET_LocalInfo
253 250
254/** 251/**
255 * Message to inform the client about one of the peers in the service. 252 * Message to inform the client about one of the peers in the service.
253 *
254 * TODO: split into two messages!
256 */ 255 */
257struct GNUNET_CADET_LocalInfoPeer 256struct GNUNET_CADET_LocalInfoPeer
258{ 257{
@@ -284,6 +283,8 @@ struct GNUNET_CADET_LocalInfoPeer
284 283
285/** 284/**
286 * Message to inform the client about one of the tunnels in the service. 285 * Message to inform the client about one of the tunnels in the service.
286 *
287 * TODO: split into two messages!
287 */ 288 */
288struct GNUNET_CADET_LocalInfoTunnel 289struct GNUNET_CADET_LocalInfoTunnel
289{ 290{