diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-28 15:56:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-28 15:56:09 +0000 |
commit | 7860a8fa9e6cca9f59efbfee307a01545578f59f (patch) | |
tree | 5b67fbd18646dfa9d4ae472d6a995e86c384b5e7 | |
parent | 26482491f9faa76ae8b98e27694c14d5140c1e69 (diff) | |
download | gnunet-7860a8fa9e6cca9f59efbfee307a01545578f59f.tar.gz gnunet-7860a8fa9e6cca9f59efbfee307a01545578f59f.zip |
-doxygen fixes
-rw-r--r-- | src/ats/ats_api_performance.c | 2 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_math.c | 6 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_math.h | 6 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 1 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_performance.h | 2 | ||||
-rw-r--r-- | src/core/gnunet-service-core_clients.c | 3 | ||||
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 4 | ||||
-rw-r--r-- | src/core/gnunet-service-core_typemap.c | 8 | ||||
-rw-r--r-- | src/core/gnunet-service-core_typemap.h | 8 | ||||
-rw-r--r-- | src/dht/gnunet-service-dht_hello.c | 2 | ||||
-rw-r--r-- | src/dht/plugin_block_dht.c | 2 | ||||
-rw-r--r-- | src/fs/fs_file_information.c | 2 | ||||
-rw-r--r-- | src/fs/plugin_block_fs.c | 2 | ||||
-rw-r--r-- | src/hello/hello.c | 2 | ||||
-rw-r--r-- | src/transport/gnunet-transport-wlan-helper.c | 41 | ||||
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 7 | ||||
-rw-r--r-- | src/transport/plugin_transport_udp.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 2 | ||||
-rw-r--r-- | src/vpn/plugin_block_dns.c | 2 |
19 files changed, 65 insertions, 39 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index 8ac88ec63..f85d800e4 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c | |||
@@ -193,7 +193,7 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
193 | * Transmit messages from the message queue to the service | 193 | * Transmit messages from the message queue to the service |
194 | * (if there are any, and if we are not already trying). | 194 | * (if there are any, and if we are not already trying). |
195 | * | 195 | * |
196 | * @param sh handle to use | 196 | * @param ph handle to use |
197 | */ | 197 | */ |
198 | static void | 198 | static void |
199 | do_transmit (struct GNUNET_ATS_PerformanceHandle *ph); | 199 | do_transmit (struct GNUNET_ATS_PerformanceHandle *ph); |
diff --git a/src/ats/gnunet-service-ats_math.c b/src/ats/gnunet-service-ats_math.c index 8d25e25c6..c5e68b153 100644 --- a/src/ats/gnunet-service-ats_math.c +++ b/src/ats/gnunet-service-ats_math.c | |||
@@ -19,8 +19,8 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file transport/gnunet-service-transport_ats.c | 22 | * @file transport/gnunet-service-transport_math.c |
23 | * @brief automatic transport selection | 23 | * @brief automatic transport selection, LP code |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | * | 25 | * |
26 | */ | 26 | */ |
@@ -506,10 +506,8 @@ _dummy2 () | |||
506 | 506 | ||
507 | /** | 507 | /** |
508 | * Initialize ATS | 508 | * Initialize ATS |
509 | * @param cfg configuration handle to retrieve configuration (to be removed) | ||
510 | * @return | 509 | * @return |
511 | */ | 510 | */ |
512 | |||
513 | struct ATS_Handle * | 511 | struct ATS_Handle * |
514 | ats_init (double D, double U, double R, int v_b_min, int v_n_min, | 512 | ats_init (double D, double U, double R, int v_b_min, int v_n_min, |
515 | int max_iterations, struct GNUNET_TIME_Relative max_duration, | 513 | int max_iterations, struct GNUNET_TIME_Relative max_duration, |
diff --git a/src/ats/gnunet-service-ats_math.h b/src/ats/gnunet-service-ats_math.h index 0ec85f3f0..9ce9dd2cf 100644 --- a/src/ats/gnunet-service-ats_math.h +++ b/src/ats/gnunet-service-ats_math.h | |||
@@ -19,12 +19,12 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file transport/gnunet-service-transport_ats.h | 22 | * @file transport/gnunet-service-ats_math.h |
23 | * @brief common internal definitions for transport service's ats code | 23 | * @brief common internal definitions for transport service's ats code |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | */ | 25 | */ |
26 | #ifndef GNUNET_SERVICE_TRANSPORT_ATS_H | 26 | #ifndef GNUNET_SERVICE_TRANSPORT_MATH_H |
27 | #define GNUNET_SERVICE_TRANSPORT_ATS_H | 27 | #define GNUNET_SERVICE_TRANSPORT_MATH_H |
28 | 28 | ||
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 4b8d23720..b12765620 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -98,6 +98,7 @@ find_client (struct GNUNET_SERVER_Client *client) | |||
98 | * Register a new performance client. | 98 | * Register a new performance client. |
99 | * | 99 | * |
100 | * @param client handle of the new client | 100 | * @param client handle of the new client |
101 | * @param flag flag specifying the type of the client | ||
101 | */ | 102 | */ |
102 | void | 103 | void |
103 | GAS_performance_add_client (struct GNUNET_SERVER_Client *client, | 104 | GAS_performance_add_client (struct GNUNET_SERVER_Client *client, |
diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h index 44d02452b..75d555a6c 100644 --- a/src/ats/gnunet-service-ats_performance.h +++ b/src/ats/gnunet-service-ats_performance.h | |||
@@ -35,7 +35,7 @@ | |||
35 | * Register a new performance client. | 35 | * Register a new performance client. |
36 | * | 36 | * |
37 | * @param client handle of the new client | 37 | * @param client handle of the new client |
38 | * @param flag options for the client | 38 | * @param flag flag specifying the type of the client |
39 | */ | 39 | */ |
40 | void | 40 | void |
41 | GAS_performance_add_client (struct GNUNET_SERVER_Client *client, | 41 | GAS_performance_add_client (struct GNUNET_SERVER_Client *client, |
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c index 5d06af640..5448d5d0f 100644 --- a/src/core/gnunet-service-core_clients.c +++ b/src/core/gnunet-service-core_clients.c | |||
@@ -207,6 +207,8 @@ type_match (uint16_t type, struct GSC_Client *c) | |||
207 | * Send a message to all of our current clients that have the right | 207 | * Send a message to all of our current clients that have the right |
208 | * options set. | 208 | * options set. |
209 | * | 209 | * |
210 | * @param sender origin of the message (used to check that this peer is | ||
211 | * known to be connected to the respective client) | ||
210 | * @param msg message to multicast | 212 | * @param msg message to multicast |
211 | * @param can_drop can this message be discarded if the queue is too long | 213 | * @param can_drop can this message be discarded if the queue is too long |
212 | * @param options mask to use | 214 | * @param options mask to use |
@@ -659,7 +661,6 @@ GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car) | |||
659 | * @param atsi_count number of entries in 'ats' array | 661 | * @param atsi_count number of entries in 'ats' array |
660 | * @param tmap_old previous type map for the neighbour, NULL for disconnect | 662 | * @param tmap_old previous type map for the neighbour, NULL for disconnect |
661 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 663 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
662 | * @param is_new GNUNET_YES if this is a completely new neighbour | ||
663 | */ | 664 | */ |
664 | void | 665 | void |
665 | GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, | 666 | GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, |
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index d49e06e2a..63dd6b7ee 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c | |||
@@ -1068,7 +1068,7 @@ update_timeout (struct GSC_KeyExchangeInfo *kx) | |||
1068 | * We received a PONG message. Validate and update our status. | 1068 | * We received a PONG message. Validate and update our status. |
1069 | * | 1069 | * |
1070 | * @param kx key exchange context for the the PONG | 1070 | * @param kx key exchange context for the the PONG |
1071 | * @param m the encrypted PONG message itself | 1071 | * @param msg the encrypted PONG message itself |
1072 | */ | 1072 | */ |
1073 | void | 1073 | void |
1074 | GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, | 1074 | GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, |
@@ -1322,7 +1322,7 @@ struct DeliverMessageContext | |||
1322 | * pass on to the appropriate clients. | 1322 | * pass on to the appropriate clients. |
1323 | * | 1323 | * |
1324 | * @param kx key exchange context for encrypting the message | 1324 | * @param kx key exchange context for encrypting the message |
1325 | * @param m encrypted message | 1325 | * @param msg encrypted message |
1326 | * @param atsi performance data | 1326 | * @param atsi performance data |
1327 | * @param atsi_count number of entries in ats (excluding 0-termination) | 1327 | * @param atsi_count number of entries in ats (excluding 0-termination) |
1328 | */ | 1328 | */ |
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c index d3214ea67..d2dab5d99 100644 --- a/src/core/gnunet-service-core_typemap.c +++ b/src/core/gnunet-service-core_typemap.c | |||
@@ -205,7 +205,7 @@ GSC_TYPEMAP_remove (const uint16_t * types, unsigned int tlen) | |||
205 | * Test if any of the types from the types array is in the | 205 | * Test if any of the types from the types array is in the |
206 | * given type map. | 206 | * given type map. |
207 | * | 207 | * |
208 | * @param map map to test | 208 | * @param tmap map to test |
209 | * @param types array of types | 209 | * @param types array of types |
210 | * @param tcnt number of entries in types | 210 | * @param tcnt number of entries in types |
211 | * @return GNUNET_YES if a type is in the map, GNUNET_NO if not | 211 | * @return GNUNET_YES if a type is in the map, GNUNET_NO if not |
@@ -230,7 +230,7 @@ GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap, const uint16_t * types, | |||
230 | /** | 230 | /** |
231 | * Add additional types to a given typemap. | 231 | * Add additional types to a given typemap. |
232 | * | 232 | * |
233 | * @param map map to extend (not changed) | 233 | * @param tmap map to extend (not changed) |
234 | * @param types array of types to add | 234 | * @param types array of types to add |
235 | * @param tcnt number of entries in types | 235 | * @param tcnt number of entries in types |
236 | * @return updated type map (fresh copy) | 236 | * @return updated type map (fresh copy) |
@@ -254,7 +254,7 @@ GSC_TYPEMAP_extend (const struct GSC_TypeMap *tmap, const uint16_t * types, | |||
254 | /** | 254 | /** |
255 | * Create an empty type map. | 255 | * Create an empty type map. |
256 | * | 256 | * |
257 | * @param map a type map | 257 | * @return an empty type map |
258 | */ | 258 | */ |
259 | struct GSC_TypeMap * | 259 | struct GSC_TypeMap * |
260 | GSC_TYPEMAP_create () | 260 | GSC_TYPEMAP_create () |
@@ -266,7 +266,7 @@ GSC_TYPEMAP_create () | |||
266 | /** | 266 | /** |
267 | * Free the given type map. | 267 | * Free the given type map. |
268 | * | 268 | * |
269 | * @param map a type map | 269 | * @param tmap a type map |
270 | */ | 270 | */ |
271 | void | 271 | void |
272 | GSC_TYPEMAP_destroy (struct GSC_TypeMap *tmap) | 272 | GSC_TYPEMAP_destroy (struct GSC_TypeMap *tmap) |
diff --git a/src/core/gnunet-service-core_typemap.h b/src/core/gnunet-service-core_typemap.h index ab106a161..aee4573b6 100644 --- a/src/core/gnunet-service-core_typemap.h +++ b/src/core/gnunet-service-core_typemap.h | |||
@@ -72,7 +72,7 @@ GSC_TYPEMAP_get_from_message (const struct GNUNET_MessageHeader *msg); | |||
72 | * Test if any of the types from the types array is in the | 72 | * Test if any of the types from the types array is in the |
73 | * given type map. | 73 | * given type map. |
74 | * | 74 | * |
75 | * @param map map to test | 75 | * @param tmap map to test |
76 | * @param types array of types | 76 | * @param types array of types |
77 | * @param tcnt number of entries in types | 77 | * @param tcnt number of entries in types |
78 | * @return GNUNET_YES if a type is in the map, GNUNET_NO if not | 78 | * @return GNUNET_YES if a type is in the map, GNUNET_NO if not |
@@ -85,7 +85,7 @@ GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap, const uint16_t * types, | |||
85 | /** | 85 | /** |
86 | * Add additional types to a given typemap. | 86 | * Add additional types to a given typemap. |
87 | * | 87 | * |
88 | * @param map map to extend (not changed) | 88 | * @param tmap map to extend (not changed) |
89 | * @param types array of types to add | 89 | * @param types array of types to add |
90 | * @param tcnt number of entries in types | 90 | * @param tcnt number of entries in types |
91 | * @return updated type map (fresh copy) | 91 | * @return updated type map (fresh copy) |
@@ -97,7 +97,7 @@ GSC_TYPEMAP_extend (const struct GSC_TypeMap *tmap, const uint16_t * types, | |||
97 | /** | 97 | /** |
98 | * Create an empty type map. | 98 | * Create an empty type map. |
99 | * | 99 | * |
100 | * @param map a type map | 100 | * @return an empty type map |
101 | */ | 101 | */ |
102 | struct GSC_TypeMap * | 102 | struct GSC_TypeMap * |
103 | GSC_TYPEMAP_create (void); | 103 | GSC_TYPEMAP_create (void); |
@@ -106,7 +106,7 @@ GSC_TYPEMAP_create (void); | |||
106 | /** | 106 | /** |
107 | * Free the given type map. | 107 | * Free the given type map. |
108 | * | 108 | * |
109 | * @param map a type map | 109 | * @param tmap a type map |
110 | */ | 110 | */ |
111 | void | 111 | void |
112 | GSC_TYPEMAP_destroy (struct GSC_TypeMap *tmap); | 112 | GSC_TYPEMAP_destroy (struct GSC_TypeMap *tmap); |
diff --git a/src/dht/gnunet-service-dht_hello.c b/src/dht/gnunet-service-dht_hello.c index 578e651f8..b9cc45016 100644 --- a/src/dht/gnunet-service-dht_hello.c +++ b/src/dht/gnunet-service-dht_hello.c | |||
@@ -64,7 +64,7 @@ GDS_HELLO_get (const struct GNUNET_PeerIdentity *peer) | |||
64 | * @param cls closure | 64 | * @param cls closure |
65 | * @param peer id of the peer, NULL for last call | 65 | * @param peer id of the peer, NULL for last call |
66 | * @param hello hello message for the peer (can be NULL) | 66 | * @param hello hello message for the peer (can be NULL) |
67 | * @param error message | 67 | * @param err_msg error message (not used) |
68 | */ | 68 | */ |
69 | static void | 69 | static void |
70 | process_hello (void *cls, const struct GNUNET_PeerIdentity *peer, | 70 | process_hello (void *cls, const struct GNUNET_PeerIdentity *peer, |
diff --git a/src/dht/plugin_block_dht.c b/src/dht/plugin_block_dht.c index f574e6d06..19467b9c9 100644 --- a/src/dht/plugin_block_dht.c +++ b/src/dht/plugin_block_dht.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file block/plugin_block_dht.c | 22 | * @file dht/plugin_block_dht.c |
23 | * @brief block plugin for DHT internals (right now, find-peer requests only); | 23 | * @brief block plugin for DHT internals (right now, find-peer requests only); |
24 | * other plugins should be used to store "useful" data in the | 24 | * other plugins should be used to store "useful" data in the |
25 | * DHT (see fs block plugin) | 25 | * DHT (see fs block plugin) |
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index b094ed7d5..0925d57ec 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -477,7 +477,7 @@ struct MetaValueInformation | |||
477 | * | 477 | * |
478 | * @param cls the container multihashmap to update | 478 | * @param cls the container multihashmap to update |
479 | * @param plugin_name name of the plugin that produced this value; | 479 | * @param plugin_name name of the plugin that produced this value; |
480 | * special values can be used (i.e. '<zlib>' for zlib being | 480 | * special values can be used (i.e. '<zlib>' for zlib being |
481 | * used in the main libextractor library and yielding | 481 | * used in the main libextractor library and yielding |
482 | * meta data). | 482 | * meta data). |
483 | * @param type libextractor-type describing the meta data | 483 | * @param type libextractor-type describing the meta data |
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c index c1b4ad7c8..9b73f2497 100644 --- a/src/fs/plugin_block_fs.c +++ b/src/fs/plugin_block_fs.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file block/plugin_block_fs.c | 22 | * @file fs/plugin_block_fs.c |
23 | * @brief blocks used for file-sharing | 23 | * @brief blocks used for file-sharing |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
diff --git a/src/hello/hello.c b/src/hello/hello.c index b7f29f539..9c0c3d4ac 100644 --- a/src/hello/hello.c +++ b/src/hello/hello.c | |||
@@ -65,7 +65,7 @@ struct GNUNET_HELLO_Message | |||
65 | * Copy the given address information into | 65 | * Copy the given address information into |
66 | * the given buffer using the format of HELLOs. | 66 | * the given buffer using the format of HELLOs. |
67 | * | 67 | * |
68 | * @param addess the address | 68 | * @param address the address |
69 | * @param expiration expiration for the address | 69 | * @param expiration expiration for the address |
70 | * @param target where to copy the address | 70 | * @param target where to copy the address |
71 | * @param max maximum number of bytes to copy to target | 71 | * @param max maximum number of bytes to copy to target |
diff --git a/src/transport/gnunet-transport-wlan-helper.c b/src/transport/gnunet-transport-wlan-helper.c index 0e5d55b40..7be72482b 100644 --- a/src/transport/gnunet-transport-wlan-helper.c +++ b/src/transport/gnunet-transport-wlan-helper.c | |||
@@ -419,25 +419,48 @@ struct Hardware_Infos | |||
419 | 419 | ||
420 | 420 | ||
421 | /** | 421 | /** |
422 | * struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args | 422 | * struct ieee80211_radiotap_iterator - tracks walk through present radiotap args |
423 | * @rtheader: pointer to the radiotap header we are walking through | ||
424 | * @max_length: length of radiotap header in cpu byte ordering | ||
425 | * @this_arg_index: IEEE80211_RADIOTAP_... index of current arg | ||
426 | * @this_arg: pointer to current radiotap arg | ||
427 | * @arg_index: internal next argument index | ||
428 | * @arg: internal next argument pointer | ||
429 | * @next_bitmap: internal pointer to next present uint32_t | ||
430 | * @bitmap_shifter: internal shifter for curr uint32_t bitmap, b0 set == arg present | ||
431 | */ | 423 | */ |
432 | struct ieee80211_radiotap_iterator | 424 | struct ieee80211_radiotap_iterator |
433 | { | 425 | { |
426 | /** | ||
427 | * pointer to the radiotap header we are walking through | ||
428 | */ | ||
434 | struct ieee80211_radiotap_header *rtheader; | 429 | struct ieee80211_radiotap_header *rtheader; |
430 | |||
431 | /** | ||
432 | * length of radiotap header in cpu byte ordering | ||
433 | */ | ||
435 | int max_length; | 434 | int max_length; |
435 | |||
436 | /** | ||
437 | * IEEE80211_RADIOTAP_... index of current arg | ||
438 | */ | ||
436 | int this_arg_index; | 439 | int this_arg_index; |
440 | |||
441 | /** | ||
442 | * pointer to current radiotap arg | ||
443 | */ | ||
437 | uint8_t *this_arg; | 444 | uint8_t *this_arg; |
445 | |||
446 | /** | ||
447 | * internal next argument index | ||
448 | */ | ||
438 | int arg_index; | 449 | int arg_index; |
450 | |||
451 | /** | ||
452 | * internal next argument pointer | ||
453 | */ | ||
439 | uint8_t *arg; | 454 | uint8_t *arg; |
455 | |||
456 | /** | ||
457 | * internal pointer to next present uint32_t | ||
458 | */ | ||
440 | uint32_t *next_bitmap; | 459 | uint32_t *next_bitmap; |
460 | |||
461 | /** | ||
462 | * internal shifter for curr uint32_t bitmap, b0 set == arg present | ||
463 | */ | ||
441 | uint32_t bitmap_shifter; | 464 | uint32_t bitmap_shifter; |
442 | }; | 465 | }; |
443 | 466 | ||
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 96bd176f4..013b3f544 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -75,6 +75,7 @@ client_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | |||
75 | * Function setting up file descriptors and scheduling task to run | 75 | * Function setting up file descriptors and scheduling task to run |
76 | * | 76 | * |
77 | * @param plugin plugin as closure | 77 | * @param plugin plugin as closure |
78 | * @param now schedule task in 1ms, regardless of what curl may say | ||
78 | * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok | 79 | * @return GNUNET_SYSERR for hard failure, GNUNET_OK for ok |
79 | */ | 80 | */ |
80 | static int | 81 | static int |
@@ -115,7 +116,7 @@ client_schedule (struct Plugin *plugin, int now) | |||
115 | else | 116 | else |
116 | timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, to); | 117 | timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, to); |
117 | if (now == GNUNET_YES) | 118 | if (now == GNUNET_YES) |
118 | timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 1); | 119 | timeout = GNUNET_TIME_UNIT_MILLISECONDS; |
119 | 120 | ||
120 | if (mret != CURLM_OK) | 121 | if (mret != CURLM_OK) |
121 | { | 122 | { |
@@ -358,7 +359,7 @@ client_wake_up (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
358 | * @param stream pointer where to write data | 359 | * @param stream pointer where to write data |
359 | * @param size size of an individual element | 360 | * @param size size of an individual element |
360 | * @param nmemb count of elements that can be written to the buffer | 361 | * @param nmemb count of elements that can be written to the buffer |
361 | * @param ptr destination pointer, passed to the libcurl handle | 362 | * @param cls destination pointer, passed to the libcurl handle |
362 | * @return bytes read from stream | 363 | * @return bytes read from stream |
363 | */ | 364 | */ |
364 | static size_t | 365 | static size_t |
@@ -413,7 +414,7 @@ client_receive (void *stream, size_t size, size_t nmemb, void *cls) | |||
413 | * @param stream pointer where to write data | 414 | * @param stream pointer where to write data |
414 | * @param size size of an individual element | 415 | * @param size size of an individual element |
415 | * @param nmemb count of elements that can be written to the buffer | 416 | * @param nmemb count of elements that can be written to the buffer |
416 | * @param ptr source pointer, passed to the libcurl handle | 417 | * @param cls source pointer, passed to the libcurl handle |
417 | * @return bytes written to stream, returning 0 will terminate connection! | 418 | * @return bytes written to stream, returning 0 will terminate connection! |
418 | */ | 419 | */ |
419 | static size_t | 420 | static size_t |
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 87ee25005..a0d5072b8 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -461,6 +461,8 @@ inbound_session_iterator (void *cls, const GNUNET_HashCode * key, void *value) | |||
461 | * | 461 | * |
462 | * @param plugin the plugin | 462 | * @param plugin the plugin |
463 | * @param peer peer's identity | 463 | * @param peer peer's identity |
464 | * @param addr address | ||
465 | * @param addrlen address length | ||
464 | * @return NULL if we have no session | 466 | * @return NULL if we have no session |
465 | */ | 467 | */ |
466 | static struct Session * | 468 | static struct Session * |
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 714f23f19..c7029a579 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -2377,7 +2377,7 @@ free_macendpoint (struct Plugin *plugin, struct MacEndpoint *endpoint) | |||
2377 | * function to free a session | 2377 | * function to free a session |
2378 | * @param plugin pointer to the plugin | 2378 | * @param plugin pointer to the plugin |
2379 | * @param queue pointer to the sessionqueue element to free | 2379 | * @param queue pointer to the sessionqueue element to free |
2380 | * @param free_macendpoint if GNUNET_YES and mac endpoint would be empty, free mac endpoint | 2380 | * @param do_free_macendpoint if GNUNET_YES and mac endpoint would be empty, free mac endpoint |
2381 | */ | 2381 | */ |
2382 | static void | 2382 | static void |
2383 | free_session (struct Plugin *plugin, struct Sessionqueue *queue, | 2383 | free_session (struct Plugin *plugin, struct Sessionqueue *queue, |
diff --git a/src/vpn/plugin_block_dns.c b/src/vpn/plugin_block_dns.c index b33b3798a..34b054c8d 100644 --- a/src/vpn/plugin_block_dns.c +++ b/src/vpn/plugin_block_dns.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file block/plugin_block_dns.c | 22 | * @file vpn/plugin_block_dns.c |
23 | * @brief block plugin for storing .gnunet-bindings | 23 | * @brief block plugin for storing .gnunet-bindings |
24 | * @author Philipp Tölke | 24 | * @author Philipp Tölke |
25 | */ | 25 | */ |