diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_channel.h')
-rw-r--r-- | src/cadet/gnunet-service-cadet_channel.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/cadet/gnunet-service-cadet_channel.h b/src/cadet/gnunet-service-cadet_channel.h index eeea02712..1eeebf34b 100644 --- a/src/cadet/gnunet-service-cadet_channel.h +++ b/src/cadet/gnunet-service-cadet_channel.h | |||
@@ -69,7 +69,7 @@ GCCH_destroy (struct CadetChannel *ch); | |||
69 | * | 69 | * |
70 | * @return ID used to identify the channel with the remote peer. | 70 | * @return ID used to identify the channel with the remote peer. |
71 | */ | 71 | */ |
72 | CADET_ChannelNumber | 72 | struct GNUNET_CADET_ChannelTunnelNumber |
73 | GCCH_get_id (const struct CadetChannel *ch); | 73 | GCCH_get_id (const struct CadetChannel *ch); |
74 | 74 | ||
75 | /** | 75 | /** |
@@ -224,7 +224,7 @@ GCCH_handle_local_destroy (struct CadetChannel *ch, | |||
224 | */ | 224 | */ |
225 | int | 225 | int |
226 | GCCH_handle_local_create (struct CadetClient *c, | 226 | GCCH_handle_local_create (struct CadetClient *c, |
227 | struct GNUNET_CADET_ChannelCreateMessage *msg); | 227 | struct GNUNET_CADET_ChannelOpenMessageMessage *msg); |
228 | 228 | ||
229 | /** | 229 | /** |
230 | * Handler for cadet network payload traffic. | 230 | * Handler for cadet network payload traffic. |
@@ -238,7 +238,7 @@ GCCH_handle_local_create (struct CadetClient *c, | |||
238 | */ | 238 | */ |
239 | void | 239 | void |
240 | GCCH_handle_data (struct CadetChannel *ch, | 240 | GCCH_handle_data (struct CadetChannel *ch, |
241 | const struct GNUNET_CADET_Data *msg, | 241 | const struct GNUNET_CADET_ChannelAppDataMessage *msg, |
242 | int fwd); | 242 | int fwd); |
243 | 243 | ||
244 | 244 | ||
@@ -254,7 +254,7 @@ GCCH_handle_data (struct CadetChannel *ch, | |||
254 | */ | 254 | */ |
255 | void | 255 | void |
256 | GCCH_handle_data_ack (struct CadetChannel *ch, | 256 | GCCH_handle_data_ack (struct CadetChannel *ch, |
257 | const struct GNUNET_CADET_DataACK *msg, | 257 | const struct GNUNET_CADET_ChannelDataAckMessage *msg, |
258 | int fwd); | 258 | int fwd); |
259 | 259 | ||
260 | 260 | ||
@@ -268,7 +268,7 @@ GCCH_handle_data_ack (struct CadetChannel *ch, | |||
268 | */ | 268 | */ |
269 | struct CadetChannel * | 269 | struct CadetChannel * |
270 | GCCH_handle_create (struct CadetTunnel *t, | 270 | GCCH_handle_create (struct CadetTunnel *t, |
271 | const struct GNUNET_CADET_ChannelCreate *msg); | 271 | const struct GNUNET_CADET_ChannelOpenMessage *msg); |
272 | 272 | ||
273 | 273 | ||
274 | /** | 274 | /** |
@@ -294,7 +294,7 @@ GCCH_handle_nack (struct CadetChannel *ch); | |||
294 | */ | 294 | */ |
295 | void | 295 | void |
296 | GCCH_handle_ack (struct CadetChannel *ch, | 296 | GCCH_handle_ack (struct CadetChannel *ch, |
297 | const struct GNUNET_CADET_ChannelManage *msg, | 297 | const struct GNUNET_CADET_ChannelManageMessage *msg, |
298 | int fwd); | 298 | int fwd); |
299 | 299 | ||
300 | 300 | ||
@@ -310,7 +310,7 @@ GCCH_handle_ack (struct CadetChannel *ch, | |||
310 | */ | 310 | */ |
311 | void | 311 | void |
312 | GCCH_handle_destroy (struct CadetChannel *ch, | 312 | GCCH_handle_destroy (struct CadetChannel *ch, |
313 | const struct GNUNET_CADET_ChannelManage *msg, | 313 | const struct GNUNET_CADET_ChannelManageMessage *msg, |
314 | int fwd); | 314 | int fwd); |
315 | 315 | ||
316 | 316 | ||
@@ -347,6 +347,8 @@ const char * | |||
347 | GCCH_2s (const struct CadetChannel *ch); | 347 | GCCH_2s (const struct CadetChannel *ch); |
348 | 348 | ||
349 | 349 | ||
350 | |||
351 | |||
350 | #if 0 /* keep Emacsens' auto-indent happy */ | 352 | #if 0 /* keep Emacsens' auto-indent happy */ |
351 | { | 353 | { |
352 | #endif | 354 | #endif |