diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-21 14:51:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-21 14:51:28 +0100 |
commit | 745cf54e655a9fb40a4ba3643de09a3471ca6ef6 (patch) | |
tree | c592fbe4609fd8256d96c4b32f94b4a1a0a5600a /src/cadet/gnunet-service-cadet-new.c | |
parent | 0eec69c59e625ecc41dcff20bf2395613185d342 (diff) | |
download | gnunet-745cf54e655a9fb40a4ba3643de09a3471ca6ef6.tar.gz gnunet-745cf54e655a9fb40a4ba3643de09a3471ca6ef6.zip |
renames to avoid ambiguity
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cadet/gnunet-service-cadet-new.c b/src/cadet/gnunet-service-cadet-new.c index b6bdcc9fc..a60ef647a 100644 --- a/src/cadet/gnunet-service-cadet-new.c +++ b/src/cadet/gnunet-service-cadet-new.c | |||
@@ -277,7 +277,7 @@ GSC_bind (struct CadetClient *c, | |||
277 | uint32_t options) | 277 | uint32_t options) |
278 | { | 278 | { |
279 | struct GNUNET_MQ_Envelope *env; | 279 | struct GNUNET_MQ_Envelope *env; |
280 | struct GNUNET_CADET_TunnelCreateMessage *msg; | 280 | struct GNUNET_CADET_LocalChannelCreateMessage *msg; |
281 | struct GNUNET_CADET_ClientChannelNumber lid; | 281 | struct GNUNET_CADET_ClientChannelNumber lid; |
282 | 282 | ||
283 | lid = client_get_next_lid (c); | 283 | lid = client_get_next_lid (c); |
@@ -289,7 +289,7 @@ GSC_bind (struct CadetClient *c, | |||
289 | 289 | ||
290 | /* notify local client about incoming connection! */ | 290 | /* notify local client about incoming connection! */ |
291 | env = GNUNET_MQ_msg (msg, | 291 | env = GNUNET_MQ_msg (msg, |
292 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_TUNNEL_CREATE); | 292 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_CHANNEL_CREATE); |
293 | msg->channel_id = lid; | 293 | msg->channel_id = lid; |
294 | msg->port = *port; | 294 | msg->port = *port; |
295 | msg->opt = htonl (options); | 295 | msg->opt = htonl (options); |
@@ -469,7 +469,7 @@ handle_port_close (void *cls, | |||
469 | */ | 469 | */ |
470 | static void | 470 | static void |
471 | handle_tunnel_create (void *cls, | 471 | handle_tunnel_create (void *cls, |
472 | const struct GNUNET_CADET_TunnelCreateMessage *tcm) | 472 | const struct GNUNET_CADET_LocalChannelCreateMessage *tcm) |
473 | { | 473 | { |
474 | struct CadetClient *c = cls; | 474 | struct CadetClient *c = cls; |
475 | struct CadetChannel *ch; | 475 | struct CadetChannel *ch; |
@@ -550,7 +550,7 @@ get_map_by_chid (struct CadetClient *c, | |||
550 | */ | 550 | */ |
551 | static void | 551 | static void |
552 | handle_tunnel_destroy (void *cls, | 552 | handle_tunnel_destroy (void *cls, |
553 | const struct GNUNET_CADET_TunnelDestroyMessage *msg) | 553 | const struct GNUNET_CADET_LocalChannelDestroyMessage *msg) |
554 | { | 554 | { |
555 | struct CadetClient *c = cls; | 555 | struct CadetClient *c = cls; |
556 | struct GNUNET_CADET_ClientChannelNumber chid; | 556 | struct GNUNET_CADET_ClientChannelNumber chid; |
@@ -1316,12 +1316,12 @@ GNUNET_SERVICE_MAIN | |||
1316 | struct GNUNET_CADET_PortMessage, | 1316 | struct GNUNET_CADET_PortMessage, |
1317 | NULL), | 1317 | NULL), |
1318 | GNUNET_MQ_hd_fixed_size (tunnel_create, | 1318 | GNUNET_MQ_hd_fixed_size (tunnel_create, |
1319 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_TUNNEL_CREATE, | 1319 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_CHANNEL_CREATE, |
1320 | struct GNUNET_CADET_TunnelCreateMessage, | 1320 | struct GNUNET_CADET_LocalChannelCreateMessage, |
1321 | NULL), | 1321 | NULL), |
1322 | GNUNET_MQ_hd_fixed_size (tunnel_destroy, | 1322 | GNUNET_MQ_hd_fixed_size (tunnel_destroy, |
1323 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_TUNNEL_DESTROY, | 1323 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_CHANNEL_DESTROY, |
1324 | struct GNUNET_CADET_TunnelDestroyMessage, | 1324 | struct GNUNET_CADET_LocalChannelDestroyMessage, |
1325 | NULL), | 1325 | NULL), |
1326 | GNUNET_MQ_hd_var_size (data, | 1326 | GNUNET_MQ_hd_var_size (data, |
1327 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_DATA, | 1327 | GNUNET_MESSAGE_TYPE_CADET_LOCAL_DATA, |