diff options
author | Willow Liquorice <willow@howhill.com> | 2022-06-12 20:30:40 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-21 08:18:21 +0200 |
commit | cc738d28d345bf1e7c4083fc052f4df3be1c2c74 (patch) | |
tree | 6140068ffbe473ba162e9f655017bc4af0fdaf2a /src/cadet | |
parent | 1682f41396022284cd4eebf8f2938143b1b23ec3 (diff) | |
download | gnunet-cc738d28d345bf1e7c4083fc052f4df3be1c2c74.tar.gz gnunet-cc738d28d345bf1e7c4083fc052f4df3be1c2c74.zip |
DOC: Initial work in CADET towards removing redundant doc comments.
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_core.c | 11 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet_dht.c | 26 |
2 files changed, 0 insertions, 37 deletions
diff --git a/src/cadet/gnunet-service-cadet_core.c b/src/cadet/gnunet-service-cadet_core.c index 95a5d3f63..bff7632da 100644 --- a/src/cadet/gnunet-service-cadet_core.c +++ b/src/cadet/gnunet-service-cadet_core.c | |||
@@ -139,14 +139,6 @@ struct RouteDirection | |||
139 | }; | 139 | }; |
140 | 140 | ||
141 | 141 | ||
142 | /** | ||
143 | * Description of a segment of a `struct CadetConnection` at the | ||
144 | * intermediate peers. Routes are basically entries in a peer's | ||
145 | * routing table for forwarding traffic. At both endpoints, the | ||
146 | * routes are terminated by a `struct CadetConnection`, which knows | ||
147 | * the complete `struct CadetPath` that is formed by the individual | ||
148 | * routes. | ||
149 | */ | ||
150 | struct CadetRoute | 142 | struct CadetRoute |
151 | { | 143 | { |
152 | /** | 144 | /** |
@@ -1321,9 +1313,6 @@ GCO_init (const struct GNUNET_CONFIGURATION_Handle *c) | |||
1321 | } | 1313 | } |
1322 | 1314 | ||
1323 | 1315 | ||
1324 | /** | ||
1325 | * Shut down the CORE subsystem. | ||
1326 | */ | ||
1327 | void | 1316 | void |
1328 | GCO_shutdown () | 1317 | GCO_shutdown () |
1329 | { | 1318 | { |
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c index 3df2687de..82ba326b4 100644 --- a/src/cadet/gnunet-service-cadet_dht.c +++ b/src/cadet/gnunet-service-cadet_dht.c | |||
@@ -55,9 +55,6 @@ | |||
55 | #define LOG(level, ...) GNUNET_log_from (level, "cadet-dht", __VA_ARGS__) | 55 | #define LOG(level, ...) GNUNET_log_from (level, "cadet-dht", __VA_ARGS__) |
56 | 56 | ||
57 | 57 | ||
58 | /** | ||
59 | * Handle for DHT searches. | ||
60 | */ | ||
61 | struct GCD_search_handle | 58 | struct GCD_search_handle |
62 | { | 59 | { |
63 | /** | 60 | /** |
@@ -215,10 +212,6 @@ announce_id (void *cls) | |||
215 | } | 212 | } |
216 | 213 | ||
217 | 214 | ||
218 | /** | ||
219 | * Function called by the HELLO subsystem whenever OUR hello | ||
220 | * changes. Re-triggers the DHT PUT immediately. | ||
221 | */ | ||
222 | void | 215 | void |
223 | GCD_hello_update () | 216 | GCD_hello_update () |
224 | { | 217 | { |
@@ -232,11 +225,6 @@ GCD_hello_update () | |||
232 | } | 225 | } |
233 | 226 | ||
234 | 227 | ||
235 | /** | ||
236 | * Initialize the DHT subsystem. | ||
237 | * | ||
238 | * @param c Configuration. | ||
239 | */ | ||
240 | void | 228 | void |
241 | GCD_init (const struct GNUNET_CONFIGURATION_Handle *c) | 229 | GCD_init (const struct GNUNET_CONFIGURATION_Handle *c) |
242 | { | 230 | { |
@@ -277,9 +265,6 @@ GCD_init (const struct GNUNET_CONFIGURATION_Handle *c) | |||
277 | } | 265 | } |
278 | 266 | ||
279 | 267 | ||
280 | /** | ||
281 | * Shut down the DHT subsystem. | ||
282 | */ | ||
283 | void | 268 | void |
284 | GCD_shutdown (void) | 269 | GCD_shutdown (void) |
285 | { | 270 | { |
@@ -296,12 +281,6 @@ GCD_shutdown (void) | |||
296 | } | 281 | } |
297 | 282 | ||
298 | 283 | ||
299 | /** | ||
300 | * Search DHT for paths to @a peeR_id | ||
301 | * | ||
302 | * @param peer_id peer to search for | ||
303 | * @return handle to abort search | ||
304 | */ | ||
305 | struct GCD_search_handle * | 284 | struct GCD_search_handle * |
306 | GCD_search (const struct GNUNET_PeerIdentity *peer_id) | 285 | GCD_search (const struct GNUNET_PeerIdentity *peer_id) |
307 | { | 286 | { |
@@ -338,11 +317,6 @@ GCD_search (const struct GNUNET_PeerIdentity *peer_id) | |||
338 | } | 317 | } |
339 | 318 | ||
340 | 319 | ||
341 | /** | ||
342 | * Stop DHT search started with #GCD_search(). | ||
343 | * | ||
344 | * @param h handle to search to stop | ||
345 | */ | ||
346 | void | 320 | void |
347 | GCD_search_stop (struct GCD_search_handle *h) | 321 | GCD_search_stop (struct GCD_search_handle *h) |
348 | { | 322 | { |