diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-20 10:08:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-20 10:08:07 +0100 |
commit | 7d96a8234bbd9d9a4dc431c52d92ebb604084c70 (patch) | |
tree | d2162b1006202ed154bf128293b9ec54fc38ac5e /src/cadet/gnunet-service-cadet-new_channel.h | |
parent | aedd5919e802370061850486c96da72b25df7f22 (diff) | |
download | gnunet-7d96a8234bbd9d9a4dc431c52d92ebb604084c70.tar.gz gnunet-7d96a8234bbd9d9a4dc431c52d92ebb604084c70.zip |
more work on channel/tunnel logic
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.h')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_channel.h b/src/cadet/gnunet-service-cadet-new_channel.h index 8caa254d1..0d56d8ae0 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.h +++ b/src/cadet/gnunet-service-cadet-new_channel.h | |||
@@ -107,7 +107,6 @@ GCCH_bind (struct CadetChannel *ch, | |||
107 | struct CadetClient *c); | 107 | struct CadetClient *c); |
108 | 108 | ||
109 | 109 | ||
110 | |||
111 | /** | 110 | /** |
112 | * Destroy locally created channel. Called by the | 111 | * Destroy locally created channel. Called by the |
113 | * local client, so no need to tell the client. | 112 | * local client, so no need to tell the client. |
@@ -119,10 +118,10 @@ GCCH_channel_local_destroy (struct CadetChannel *ch); | |||
119 | 118 | ||
120 | 119 | ||
121 | /** | 120 | /** |
122 | * Create a new channel. | 121 | * Create a new channel based on a request coming in over the network. |
123 | * | 122 | * |
124 | * @param t tunnel to the remote peer | 123 | * @param t tunnel to the remote peer |
125 | * @param gid identifier of this channel in the tunnel | 124 | * @param chid identifier of this channel in the tunnel |
126 | * @param origin peer to who initiated the channel | 125 | * @param origin peer to who initiated the channel |
127 | * @param port desired local port | 126 | * @param port desired local port |
128 | * @param options options for the channel | 127 | * @param options options for the channel |
@@ -130,7 +129,7 @@ GCCH_channel_local_destroy (struct CadetChannel *ch); | |||
130 | */ | 129 | */ |
131 | struct CadetChannel * | 130 | struct CadetChannel * |
132 | GCCH_channel_incoming_new (struct CadetTunnel *t, | 131 | GCCH_channel_incoming_new (struct CadetTunnel *t, |
133 | struct GNUNET_CADET_ChannelTunnelNumber gid, | 132 | struct GNUNET_CADET_ChannelTunnelNumber chid, |
134 | const struct GNUNET_HashCode *port, | 133 | const struct GNUNET_HashCode *port, |
135 | uint32_t options); | 134 | uint32_t options); |
136 | 135 | ||