diff options
Diffstat (limited to 'src/include/gnunet_cadet_service.h')
-rw-r--r-- | src/include/gnunet_cadet_service.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index 8d3d4326b..f76f17a51 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2009-2014 GNUnet e.V. | 3 | Copyright (C) 2009-2017 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -137,12 +137,12 @@ enum GNUNET_CADET_ChannelOption | |||
137 | /** | 137 | /** |
138 | * Method called whenever a peer connects to a port in MQ-based CADET. | 138 | * Method called whenever a peer connects to a port in MQ-based CADET. |
139 | * | 139 | * |
140 | * @param cls Closure from #GNUNET_CADET_open_porT. | 140 | * @param cls Closure from #GNUNET_CADET_open_port. |
141 | * @param channel New handle to the channel. | 141 | * @param channel New handle to the channel. |
142 | * @param source Peer that started this channel. | 142 | * @param source Peer that started this channel. |
143 | * @return Closure for the incoming @a channel. It's given to: | 143 | * @return Closure for the incoming @a channel. It's given to: |
144 | * - The #GNUNET_CADET_DisconnectEventHandler (given to | 144 | * - The #GNUNET_CADET_DisconnectEventHandler (given to |
145 | * #GNUNET_CADET_open_porT) when the channel dies. | 145 | * #GNUNET_CADET_open_port) when the channel dies. |
146 | * - Each the #GNUNET_MQ_MessageCallback handlers for each message | 146 | * - Each the #GNUNET_MQ_MessageCallback handlers for each message |
147 | * received on the @a channel. | 147 | * received on the @a channel. |
148 | */ | 148 | */ |
@@ -195,7 +195,7 @@ typedef void | |||
195 | * @return Handle to the cadet service NULL on error. | 195 | * @return Handle to the cadet service NULL on error. |
196 | */ | 196 | */ |
197 | struct GNUNET_CADET_Handle * | 197 | struct GNUNET_CADET_Handle * |
198 | GNUNET_CADET_connecT (const struct GNUNET_CONFIGURATION_Handle *cfg); | 198 | GNUNET_CADET_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); |
199 | 199 | ||
200 | 200 | ||
201 | /** | 201 | /** |
@@ -224,7 +224,7 @@ GNUNET_CADET_disconnect (struct GNUNET_CADET_Handle *handle); | |||
224 | * @return Port handle. | 224 | * @return Port handle. |
225 | */ | 225 | */ |
226 | struct GNUNET_CADET_Port * | 226 | struct GNUNET_CADET_Port * |
227 | GNUNET_CADET_open_porT (struct GNUNET_CADET_Handle *h, | 227 | GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h, |
228 | const struct GNUNET_HashCode *port, | 228 | const struct GNUNET_HashCode *port, |
229 | GNUNET_CADET_ConnectEventHandler connects, | 229 | GNUNET_CADET_ConnectEventHandler connects, |
230 | void *connects_cls, | 230 | void *connects_cls, |
@@ -266,7 +266,7 @@ GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p); | |||
266 | * @return Handle to the channel. | 266 | * @return Handle to the channel. |
267 | */ | 267 | */ |
268 | struct GNUNET_CADET_Channel * | 268 | struct GNUNET_CADET_Channel * |
269 | GNUNET_CADET_channel_creatE (struct GNUNET_CADET_Handle *h, | 269 | GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle *h, |
270 | void *channel_cls, | 270 | void *channel_cls, |
271 | const struct GNUNET_PeerIdentity *destination, | 271 | const struct GNUNET_PeerIdentity *destination, |
272 | const struct GNUNET_HashCode *port, | 272 | const struct GNUNET_HashCode *port, |