diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-06 19:12:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-06 19:12:03 +0200 |
commit | 6b23a8225efed99498f891b589c7c5171567192b (patch) | |
tree | 252f57fe8fda82236de4fe26d8c75a89ff03b05f /src/include | |
parent | 1b0e7d3f59c3236aae3a64b7b19ee827eec4bb9c (diff) | |
download | gnunet-6b23a8225efed99498f891b589c7c5171567192b.tar.gz gnunet-6b23a8225efed99498f891b589c7c5171567192b.zip |
clarify incorrect comment identified by Alessio Vanni on the gnunet-developer mailinglist
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_cadet_service.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index ba4d60eb8..819e39353 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h | |||
@@ -205,9 +205,9 @@ GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p); | |||
205 | /** | 205 | /** |
206 | * Create a new channel towards a remote peer. | 206 | * Create a new channel towards a remote peer. |
207 | * | 207 | * |
208 | * If the destination port is not open by any peer or the destination peer | 208 | * If the destination peer closes the channel after accepting it, |
209 | * does not accept the channel, @a disconnects will be called | 209 | * @a disconnects will be called for this channel (unless |
210 | * for this channel. | 210 | * #GNUNET_CADET_channel_destroy() was called on this end first). |
211 | * | 211 | * |
212 | * @param h CADET handle. | 212 | * @param h CADET handle. |
213 | * @param channel_cls Closure for the channel. It's given to: | 213 | * @param channel_cls Closure for the channel. It's given to: |
@@ -218,7 +218,6 @@ GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p); | |||
218 | * @param port Identification of the destination port. | 218 | * @param port Identification of the destination port. |
219 | * @param window_changes Function called when the transmit window size changes. | 219 | * @param window_changes Function called when the transmit window size changes. |
220 | * Can be NULL if this data is of no interest. | 220 | * Can be NULL if this data is of no interest. |
221 | * TODO Not yet implemented. | ||
222 | * @param disconnects Function called when the channel is disconnected. | 221 | * @param disconnects Function called when the channel is disconnected. |
223 | * @param handlers Callbacks for messages we care about, NULL-terminated. | 222 | * @param handlers Callbacks for messages we care about, NULL-terminated. |
224 | * @return Handle to the channel. | 223 | * @return Handle to the channel. |
@@ -317,7 +316,7 @@ union GNUNET_CADET_ChannelInfo | |||
317 | */ | 316 | */ |
318 | const union GNUNET_CADET_ChannelInfo * | 317 | const union GNUNET_CADET_ChannelInfo * |
319 | GNUNET_CADET_channel_get_info (struct GNUNET_CADET_Channel *channel, | 318 | GNUNET_CADET_channel_get_info (struct GNUNET_CADET_Channel *channel, |
320 | enum GNUNET_CADET_ChannelInfoOption option, | 319 | enum GNUNET_CADET_ChannelInfoOption option, |
321 | ...); | 320 | ...); |
322 | 321 | ||
323 | 322 | ||