aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r--src/cadet/cadet_api.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index ff6f15543..7148ab956 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -1050,9 +1050,9 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h,
1050/** 1050/**
1051 * Create a new channel towards a remote peer. 1051 * Create a new channel towards a remote peer.
1052 * 1052 *
1053 * If the destination port is not open by any peer or the destination peer 1053 * If the destination peer closes the channel after accepting it,
1054 * does not accept the channel, #GNUNET_CADET_ChannelEndHandler will be called 1054 * @a disconnects will be called for this channel (unless
1055 * for this channel. 1055 * #GNUNET_CADET_channel_destroy() was called on this end first).
1056 * 1056 *
1057 * @param h CADET handle. 1057 * @param h CADET handle.
1058 * @param channel_cls Closure for the channel. It's given to: 1058 * @param channel_cls Closure for the channel. It's given to:
@@ -1060,7 +1060,6 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h,
1060 * - Each message type callback in @a handlers 1060 * - Each message type callback in @a handlers
1061 * @param destination Peer identity the channel should go to. 1061 * @param destination Peer identity the channel should go to.
1062 * @param port Identification of the destination port. 1062 * @param port Identification of the destination port.
1063 * @param options CadetOption flag field, with all desired option bits set to 1.
1064 * @param window_changes Function called when the transmit window size changes. 1063 * @param window_changes Function called when the transmit window size changes.
1065 * @param disconnects Function called when the channel is disconnected. 1064 * @param disconnects Function called when the channel is disconnected.
1066 * @param handlers Callbacks for messages we care about, NULL-terminated. 1065 * @param handlers Callbacks for messages we care about, NULL-terminated.