diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-02-13 17:00:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-02-13 17:00:10 +0000 |
commit | 3b2be11385b8b4626b86d4438008eb0508f856fa (patch) | |
tree | 50129841d9edb39ac8a1a01b3972c15bf6c198f9 /src | |
parent | 6be522885e1ad907c00a293b928fc37973f0d331 (diff) | |
download | gnunet-3b2be11385b8b4626b86d4438008eb0508f856fa.tar.gz gnunet-3b2be11385b8b4626b86d4438008eb0508f856fa.zip |
- doxygen errors
Diffstat (limited to 'src')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 1 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 4 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_addresses_mlp.c | 13 | ||||
-rw-r--r-- | src/ats/gnunet-service-ats_addresses_mlp.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_ats_service.h | 1 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 6 | ||||
-rw-r--r-- | src/transport/transport_api_address_lookup.c | 2 |
8 files changed, 20 insertions, 13 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index dd70b634f..e64c69a9a 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -754,6 +754,7 @@ get_addresses (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
754 | 754 | ||
755 | /** | 755 | /** |
756 | * Returns where the address is located: LAN or WAN or ... | 756 | * Returns where the address is located: LAN or WAN or ... |
757 | * @param sh the scheduling handle | ||
757 | * @param addr address | 758 | * @param addr address |
758 | * @param addrlen address length | 759 | * @param addrlen address length |
759 | * @return location as GNUNET_ATS_Information | 760 | * @return location as GNUNET_ATS_Information |
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 556214f80..04cc07c8b 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -39,14 +39,14 @@ | |||
39 | 39 | ||
40 | enum ATS_Mode | 40 | enum ATS_Mode |
41 | { | 41 | { |
42 | /** | 42 | /* |
43 | * Assign each peer an equal amount of bandwidth (bw) | 43 | * Assign each peer an equal amount of bandwidth (bw) |
44 | * | 44 | * |
45 | * bw_per_peer = bw_total / #active addresses | 45 | * bw_per_peer = bw_total / #active addresses |
46 | */ | 46 | */ |
47 | SIMPLE, | 47 | SIMPLE, |
48 | 48 | ||
49 | /** | 49 | /* |
50 | * Use MLP solver to assign bandwidth | 50 | * Use MLP solver to assign bandwidth |
51 | */ | 51 | */ |
52 | MLP | 52 | MLP |
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.c b/src/ats/gnunet-service-ats_addresses_mlp.c index 602925e1f..cdda9d790 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.c +++ b/src/ats/gnunet-service-ats_addresses_mlp.c | |||
@@ -151,7 +151,7 @@ mlp_status_to_string (int retcode) | |||
151 | * Translate ATS properties to text | 151 | * Translate ATS properties to text |
152 | * Just intended for debugging | 152 | * Just intended for debugging |
153 | * | 153 | * |
154 | * @param retcode return code | 154 | * @param ats_index the ATS index |
155 | * @return string with result | 155 | * @return string with result |
156 | */ | 156 | */ |
157 | const char * | 157 | const char * |
@@ -195,7 +195,9 @@ mlp_ats_to_string (int ats_index) | |||
195 | 195 | ||
196 | /** | 196 | /** |
197 | * Find a peer in the DLL | 197 | * Find a peer in the DLL |
198 | * @param the peer to find | 198 | * |
199 | * @param mlp the mlp handle | ||
200 | * @param peer the peer to find | ||
199 | * @return the peer struct | 201 | * @return the peer struct |
200 | */ | 202 | */ |
201 | static struct ATS_Peer * | 203 | static struct ATS_Peer * |
@@ -381,6 +383,7 @@ mlp_lookup_ats (struct ATS_Address *addr, int ats_index) | |||
381 | * Adds the problem constraints for all addresses | 383 | * Adds the problem constraints for all addresses |
382 | * Required for problem recreation after address deletion | 384 | * Required for problem recreation after address deletion |
383 | * | 385 | * |
386 | * @param mlp the mlp handle | ||
384 | * @param addresses all addresses | 387 | * @param addresses all addresses |
385 | */ | 388 | */ |
386 | 389 | ||
@@ -684,6 +687,7 @@ create_columns_it (void *cls, const GNUNET_HashCode * key, void *value) | |||
684 | * Create the MLP problem | 687 | * Create the MLP problem |
685 | * | 688 | * |
686 | * @param mlp the MLP handle | 689 | * @param mlp the MLP handle |
690 | * @param addresses the hashmap containing all adresses | ||
687 | * @return GNUNET_OK or GNUNET_SYSERR | 691 | * @return GNUNET_OK or GNUNET_SYSERR |
688 | */ | 692 | */ |
689 | static int | 693 | static int |
@@ -1022,6 +1026,7 @@ GAS_mlp_solve_problem (struct GAS_MLP_Handle *mlp) | |||
1022 | /** | 1026 | /** |
1023 | * Init the MLP problem solving component | 1027 | * Init the MLP problem solving component |
1024 | * | 1028 | * |
1029 | * @param cfg the GNUNET_CONFIGURATION_Handle handle | ||
1025 | * @param stats the GNUNET_STATISTICS handle | 1030 | * @param stats the GNUNET_STATISTICS handle |
1026 | * @param max_duration maximum numbers of iterations for the LP/MLP Solver | 1031 | * @param max_duration maximum numbers of iterations for the LP/MLP Solver |
1027 | * @param max_iterations maximum time limit for the LP/MLP Solver | 1032 | * @param max_iterations maximum time limit for the LP/MLP Solver |
@@ -1393,13 +1398,13 @@ GAS_mlp_address_delete (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_Mult | |||
1393 | * @param mlp the MLP Handle | 1398 | * @param mlp the MLP Handle |
1394 | * @param peer the peer | 1399 | * @param peer the peer |
1395 | * @param kind the kind to change the preference | 1400 | * @param kind the kind to change the preference |
1396 | * @param float the score | 1401 | * @param score the score |
1397 | */ | 1402 | */ |
1398 | void | 1403 | void |
1399 | GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, | 1404 | GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, |
1400 | const struct GNUNET_PeerIdentity *peer, | 1405 | const struct GNUNET_PeerIdentity *peer, |
1401 | enum GNUNET_ATS_PreferenceKind kind, | 1406 | enum GNUNET_ATS_PreferenceKind kind, |
1402 | float score) | 1407 | float ) |
1403 | { | 1408 | { |
1404 | GNUNET_STATISTICS_update (mlp->stats,"# LP address preference changes", 1, GNUNET_NO); | 1409 | GNUNET_STATISTICS_update (mlp->stats,"# LP address preference changes", 1, GNUNET_NO); |
1405 | 1410 | ||
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.h b/src/ats/gnunet-service-ats_addresses_mlp.h index 43c2b66ad..52631eb3c 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.h +++ b/src/ats/gnunet-service-ats_addresses_mlp.h | |||
@@ -339,7 +339,7 @@ GAS_mlp_address_delete (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_Mult | |||
339 | * @param mlp the MLP Handle | 339 | * @param mlp the MLP Handle |
340 | * @param peer the peer | 340 | * @param peer the peer |
341 | * @param kind the kind to change the preference | 341 | * @param kind the kind to change the preference |
342 | * @param float the score | 342 | * @param score the score |
343 | */ | 343 | */ |
344 | void | 344 | void |
345 | GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, | 345 | GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, |
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 9f5fed29d..2c1b929fa 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -538,6 +538,7 @@ GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh, | |||
538 | 538 | ||
539 | /** | 539 | /** |
540 | * Returns where the address is located: LAN or WAN or ... | 540 | * Returns where the address is located: LAN or WAN or ... |
541 | * @param sh the GNUNET_ATS_SchedulingHandle handle | ||
541 | * @param addr address | 542 | * @param addr address |
542 | * @param addrlen address length | 543 | * @param addrlen address length |
543 | * @return location as GNUNET_ATS_Information | 544 | * @return location as GNUNET_ATS_Information |
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 8b96babc3..cd9bb5c65 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -120,7 +120,7 @@ process_hello_update (void *cls, const struct GNUNET_MessageHeader *hello) | |||
120 | * @param peer (claimed) identity of the other peer | 120 | * @param peer (claimed) identity of the other peer |
121 | * @param address the address | 121 | * @param address the address |
122 | * @param session session used | 122 | * @param session session used |
123 | * @param msg the message to process | 123 | * @param message the message to process |
124 | * @param ats performance information | 124 | * @param ats performance information |
125 | * @param ats_count number of records in ats | 125 | * @param ats_count number of records in ats |
126 | * @return how long the plugin should wait until receiving more data | 126 | * @return how long the plugin should wait until receiving more data |
@@ -408,7 +408,7 @@ plugin_env_address_to_type (void *cls, | |||
408 | * @param bandwidth_out assigned outbound bandwidth for the connection, 0 to disconnect from peer | 408 | * @param bandwidth_out assigned outbound bandwidth for the connection, 0 to disconnect from peer |
409 | * @param bandwidth_in assigned inbound bandwidth for the connection, 0 to disconnect from peer | 409 | * @param bandwidth_in assigned inbound bandwidth for the connection, 0 to disconnect from peer |
410 | * @param ats ATS information | 410 | * @param ats ATS information |
411 | * @param number of ATS elements | 411 | * @param ats_count number of ATS elements |
412 | */ | 412 | */ |
413 | static void | 413 | static void |
414 | ats_request_address_change (void *cls, | 414 | ats_request_address_change (void *cls, |
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 12a3cd171..6c072130b 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -791,19 +791,19 @@ transmission_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
791 | * @param cls closure for callbacks | 791 | * @param cls closure for callbacks |
792 | * @param connect_cb function to call if we connect to a peer | 792 | * @param connect_cb function to call if we connect to a peer |
793 | * @param disconnect_cb function to call if we disconnect from a peer | 793 | * @param disconnect_cb function to call if we disconnect from a peer |
794 | * @param address_cb function to call if we change an active address | 794 | * @param peer_address_cb function to call if we change an active address |
795 | * of a neighbour | 795 | * of a neighbour |
796 | */ | 796 | */ |
797 | void | 797 | void |
798 | GST_neighbours_start (void *cls, | 798 | GST_neighbours_start (void *cls, |
799 | GNUNET_TRANSPORT_NotifyConnect connect_cb, | 799 | GNUNET_TRANSPORT_NotifyConnect connect_cb, |
800 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, | 800 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, |
801 | GNUNET_TRANSPORT_PeerIterateCallback address_cb) | 801 | GNUNET_TRANSPORT_PeerIterateCallback peer_address_cb) |
802 | { | 802 | { |
803 | callback_cls = cls; | 803 | callback_cls = cls; |
804 | connect_notify_cb = connect_cb; | 804 | connect_notify_cb = connect_cb; |
805 | disconnect_notify_cb = disconnect_cb; | 805 | disconnect_notify_cb = disconnect_cb; |
806 | address_change_cb = address_cb; | 806 | address_change_cb = peer_address_cb; |
807 | neighbours = GNUNET_CONTAINER_multihashmap_create (NEIGHBOUR_TABLE_SIZE); | 807 | neighbours = GNUNET_CONTAINER_multihashmap_create (NEIGHBOUR_TABLE_SIZE); |
808 | } | 808 | } |
809 | 809 | ||
diff --git a/src/transport/transport_api_address_lookup.c b/src/transport/transport_api_address_lookup.c index 32bb41d55..6e03945c5 100644 --- a/src/transport/transport_api_address_lookup.c +++ b/src/transport/transport_api_address_lookup.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file transport/transport_api_peer_address_lookup.c | 22 | * @file transport/transport_api_address_lookup.c |
23 | * @brief given a peer id, get all known addresses from transport service | 23 | * @brief given a peer id, get all known addresses from transport service |
24 | * | 24 | * |
25 | * This api provides the ability to query the transport service about | 25 | * This api provides the ability to query the transport service about |