diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-26 20:38:36 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-30 09:41:55 +0200 |
commit | e89ea2e8b59e90d99082277d834a450280ef8b7f (patch) | |
tree | 82db7a1db7b1e1a3a80a1d9c0e56a0049b0bdb2d /src/cadet | |
parent | e1aa9919fe30e9193e6467d60a34e22b4ae091cf (diff) | |
download | gnunet-e89ea2e8b59e90d99082277d834a450280ef8b7f.tar.gz gnunet-e89ea2e8b59e90d99082277d834a450280ef8b7f.zip |
-Second pass through CADET
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet_api.c | 15 | ||||
-rw-r--r-- | src/cadet/cadet_api_get_path.c | 9 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet.c | 7 |
3 files changed, 0 insertions, 31 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index c9f0722d5..00c3d2e48 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -798,12 +798,6 @@ GNUNET_CADET_disconnect (struct GNUNET_CADET_Handle *handle) | |||
798 | } | 798 | } |
799 | 799 | ||
800 | 800 | ||
801 | /** | ||
802 | * Close a port opened with @a GNUNET_CADET_open_port(). | ||
803 | * The @a new_channel callback will no longer be called. | ||
804 | * | ||
805 | * @param p Port handle. | ||
806 | */ | ||
807 | void | 801 | void |
808 | GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p) | 802 | GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p) |
809 | { | 803 | { |
@@ -853,15 +847,6 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel) | |||
853 | } | 847 | } |
854 | 848 | ||
855 | 849 | ||
856 | /** | ||
857 | * Get information about a channel. | ||
858 | * | ||
859 | * @param channel Channel handle. | ||
860 | * @param option Query (GNUNET_CADET_OPTION_*). | ||
861 | * @param ... dependent on option, currently not used | ||
862 | * | ||
863 | * @return Union with an answer to the query. | ||
864 | */ | ||
865 | const union GNUNET_CADET_ChannelInfo * | 850 | const union GNUNET_CADET_ChannelInfo * |
866 | GNUNET_CADET_channel_get_info (struct GNUNET_CADET_Channel *channel, | 851 | GNUNET_CADET_channel_get_info (struct GNUNET_CADET_Channel *channel, |
867 | enum GNUNET_CADET_ChannelInfoOption option, | 852 | enum GNUNET_CADET_ChannelInfoOption option, |
diff --git a/src/cadet/cadet_api_get_path.c b/src/cadet/cadet_api_get_path.c index 68070eab2..f32a5e20b 100644 --- a/src/cadet/cadet_api_get_path.c +++ b/src/cadet/cadet_api_get_path.c | |||
@@ -216,15 +216,6 @@ reconnect (void *cls) | |||
216 | } | 216 | } |
217 | 217 | ||
218 | 218 | ||
219 | /** | ||
220 | * Request information about paths known to the running cadet peer. | ||
221 | * | ||
222 | * @param cfg configuration to use | ||
223 | * @param id Peer whose paths to examine. | ||
224 | * @param callback Function to call with the requested data. | ||
225 | * @param callback_cls Closure for @c callback. | ||
226 | * @return NULL on error | ||
227 | */ | ||
228 | struct GNUNET_CADET_GetPath * | 219 | struct GNUNET_CADET_GetPath * |
229 | GNUNET_CADET_get_path (const struct GNUNET_CONFIGURATION_Handle *cfg, | 220 | GNUNET_CADET_get_path (const struct GNUNET_CONFIGURATION_Handle *cfg, |
230 | const struct GNUNET_PeerIdentity *id, | 221 | const struct GNUNET_PeerIdentity *id, |
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index 73e463e9b..dd1f05807 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c | |||
@@ -1097,13 +1097,6 @@ GSC_handle_remote_channel_destroy (struct CadetClient *c, | |||
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | 1099 | ||
1100 | /** | ||
1101 | * A client that created a loose channel that was not bound to a port | ||
1102 | * disconnected, drop it from the #loose_channels list. | ||
1103 | * | ||
1104 | * @param h_port the hashed port the channel was trying to bind to | ||
1105 | * @param ch the channel that was lost | ||
1106 | */ | ||
1107 | void | 1100 | void |
1108 | GSC_drop_loose_channel (const struct GNUNET_HashCode *h_port, | 1101 | GSC_drop_loose_channel (const struct GNUNET_HashCode *h_port, |
1109 | struct CadetChannel *ch) | 1102 | struct CadetChannel *ch) |