diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-18 10:51:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-18 10:51:16 +0100 |
commit | a1bd2dcc29c126023dbd1ddf83d7514859d1775b (patch) | |
tree | 9e23f546f72f800c6451a9ab717bed6fa87e2ead /src/cadet/cadet_api.c | |
parent | 4ed4bcba53601d97793663017efcda877c3c490a (diff) | |
download | gnunet-a1bd2dcc29c126023dbd1ddf83d7514859d1775b.tar.gz gnunet-a1bd2dcc29c126023dbd1ddf83d7514859d1775b.zip |
cadet message struct and type rename-fest
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 57a14639d..281d8c5f3 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -588,7 +588,7 @@ request_data (void *cls) | |||
588 | */ | 588 | */ |
589 | static void | 589 | static void |
590 | handle_channel_created (void *cls, | 590 | handle_channel_created (void *cls, |
591 | const struct GNUNET_CADET_ChannelCreateMessage *msg) | 591 | const struct GNUNET_CADET_ChannelCreateMessageMessage *msg) |
592 | { | 592 | { |
593 | struct GNUNET_CADET_Handle *h = cls; | 593 | struct GNUNET_CADET_Handle *h = cls; |
594 | struct GNUNET_CADET_Channel *ch; | 594 | struct GNUNET_CADET_Channel *ch; |
@@ -1282,7 +1282,7 @@ do_reconnect (struct GNUNET_CADET_Handle *h) | |||
1282 | struct GNUNET_MQ_MessageHandler handlers[] = { | 1282 | struct GNUNET_MQ_MessageHandler handlers[] = { |
1283 | GNUNET_MQ_hd_fixed_size (channel_created, | 1283 | GNUNET_MQ_hd_fixed_size (channel_created, |
1284 | GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE, | 1284 | GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE, |
1285 | struct GNUNET_CADET_ChannelCreateMessage, | 1285 | struct GNUNET_CADET_ChannelCreateMessageMessage, |
1286 | h), | 1286 | h), |
1287 | GNUNET_MQ_hd_fixed_size (channel_destroy, | 1287 | GNUNET_MQ_hd_fixed_size (channel_destroy, |
1288 | GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY, | 1288 | GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY, |
@@ -1314,7 +1314,7 @@ do_reconnect (struct GNUNET_CADET_Handle *h) | |||
1314 | h), | 1314 | h), |
1315 | // FIXME | 1315 | // FIXME |
1316 | // GNUNET_MQ_hd_fixed_Y size (channel_destroyed, | 1316 | // GNUNET_MQ_hd_fixed_Y size (channel_destroyed, |
1317 | // GNUNET_MESSAGE_TYPE_CADET_CHANNEL_NACK, | 1317 | // GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE_NACK_DEPRECATED, |
1318 | // struct GNUNET_CADET_ChannelDestroyMessage); | 1318 | // struct GNUNET_CADET_ChannelDestroyMessage); |
1319 | GNUNET_MQ_handler_end () | 1319 | GNUNET_MQ_handler_end () |
1320 | }; | 1320 | }; |
@@ -1575,7 +1575,7 @@ GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle *h, | |||
1575 | const struct GNUNET_HashCode *port, | 1575 | const struct GNUNET_HashCode *port, |
1576 | enum GNUNET_CADET_ChannelOption options) | 1576 | enum GNUNET_CADET_ChannelOption options) |
1577 | { | 1577 | { |
1578 | struct GNUNET_CADET_ChannelCreateMessage *msg; | 1578 | struct GNUNET_CADET_ChannelCreateMessageMessage *msg; |
1579 | struct GNUNET_MQ_Envelope *env; | 1579 | struct GNUNET_MQ_Envelope *env; |
1580 | struct GNUNET_CADET_Channel *ch; | 1580 | struct GNUNET_CADET_Channel *ch; |
1581 | struct GNUNET_CADET_ClientChannelNumber chid; | 1581 | struct GNUNET_CADET_ClientChannelNumber chid; |