diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-18 08:18:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-18 08:18:04 +0000 |
commit | 5755db2c4ebd0852ca9db411d632be796c4b849c (patch) | |
tree | 891e8e518e29c07e65bf5a1a0d52eb08222cf998 /src | |
parent | 17c67202c45d98da06baa3739c82e20dcd045d05 (diff) | |
download | gnunet-5755db2c4ebd0852ca9db411d632be796c4b849c.tar.gz gnunet-5755db2c4ebd0852ca9db411d632be796c4b849c.zip |
doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/ats/libgnunet_plugin_ats_mlp.c | 5 | ||||
-rw-r--r-- | src/ats/libgnunet_plugin_ats_mlp.h | 21 | ||||
-rw-r--r-- | src/ats/libgnunet_plugin_ats_proportional.c | 2 | ||||
-rw-r--r-- | src/ats/libgnunet_plugin_ats_proportional.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_ats_plugin.h | 2 |
6 files changed, 20 insertions, 13 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 41866426d..99bc77ba2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -64,7 +64,6 @@ SUBDIRS = \ | |||
64 | hostlist \ | 64 | hostlist \ |
65 | topology \ | 65 | topology \ |
66 | regex \ | 66 | regex \ |
67 | mesh \ | ||
68 | dns \ | 67 | dns \ |
69 | identity \ | 68 | identity \ |
70 | set \ | 69 | set \ |
diff --git a/src/ats/libgnunet_plugin_ats_mlp.c b/src/ats/libgnunet_plugin_ats_mlp.c index bf8ff89d1..d7fe252e6 100644 --- a/src/ats/libgnunet_plugin_ats_mlp.c +++ b/src/ats/libgnunet_plugin_ats_mlp.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file ats/gnunet-service-ats-solver_mlp.c | 22 | * @file ats/libgnunet_plugin_ats_mlp.c |
23 | * @brief ats mlp problem solver | 23 | * @brief ats mlp problem solver |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
@@ -1794,7 +1794,8 @@ mlp_free_peers (void *cls, | |||
1794 | /** | 1794 | /** |
1795 | * Shutdown the MLP problem solving component | 1795 | * Shutdown the MLP problem solving component |
1796 | * | 1796 | * |
1797 | * @param solver the solver handle | 1797 | * @param cls the solver handle |
1798 | * @return NULL | ||
1798 | */ | 1799 | */ |
1799 | void * | 1800 | void * |
1800 | libgnunet_plugin_ats_mlp_done (void *cls) | 1801 | libgnunet_plugin_ats_mlp_done (void *cls) |
diff --git a/src/ats/libgnunet_plugin_ats_mlp.h b/src/ats/libgnunet_plugin_ats_mlp.h index 6d04bbe80..9fa23f96a 100644 --- a/src/ats/libgnunet_plugin_ats_mlp.h +++ b/src/ats/libgnunet_plugin_ats_mlp.h | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * @file ats/gnunet-service-ats-solver_mlp.h | 21 | * @file ats/libgnunet_plugin_ats_mlp..h |
22 | * @brief ats MLP problem solver | 22 | * @brief ats MLP problem solver |
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
@@ -376,6 +376,7 @@ GAS_mlp_solve_problem (void *solver); | |||
376 | * | 376 | * |
377 | * @param cfg the GNUNET_CONFIGURATION_Handle handle | 377 | * @param cfg the GNUNET_CONFIGURATION_Handle handle |
378 | * @param stats the GNUNET_STATISTICS handle | 378 | * @param stats the GNUNET_STATISTICS handle |
379 | * @param addresses Hashmap containing addresses | ||
379 | * @param network array of GNUNET_ATS_NetworkType with length dest_length | 380 | * @param network array of GNUNET_ATS_NetworkType with length dest_length |
380 | * @param out_dest array of outbound quotas | 381 | * @param out_dest array of outbound quotas |
381 | * @param in_dest array of outbound quota | 382 | * @param in_dest array of outbound quota |
@@ -384,18 +385,24 @@ GAS_mlp_solve_problem (void *solver); | |||
384 | * @param bw_changed_cb_cls cls for callback | 385 | * @param bw_changed_cb_cls cls for callback |
385 | * @param get_preference callback to get relative preferences for a peer | 386 | * @param get_preference callback to get relative preferences for a peer |
386 | * @param get_preference callback to get relative preferences for a peer | 387 | * @param get_preference callback to get relative preferences for a peer |
387 | * @param get_properties_cls for callback to get relative properties | 388 | * @param get_properties callback to get relative properties |
388 | * @param get_properties_cls cls for callback to get relative properties | 389 | * @param get_properties_cls cls for callback to get relative properties |
389 | * @return struct GAS_MLP_Handle on success, NULL on fail | 390 | * @return struct GAS_MLP_Handle on success, NULL on fail |
390 | */ | 391 | */ |
391 | void * | 392 | void * |
392 | GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg, | 393 | GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg, |
393 | const struct GNUNET_STATISTICS_Handle *stats, | 394 | const struct GNUNET_STATISTICS_Handle *stats, |
394 | const struct GNUNET_CONTAINER_MultiPeerMap *addresses, int *network, | 395 | const struct GNUNET_CONTAINER_MultiPeerMap *addresses, |
395 | unsigned long long *out_dest, unsigned long long *in_dest, int dest_length, | 396 | int *network, |
396 | GAS_bandwidth_changed_cb bw_changed_cb, void *bw_changed_cb_cls, | 397 | unsigned long long *out_dest, |
397 | GAS_get_preferences get_preference, void *get_preference_cls, | 398 | unsigned long long *in_dest, |
398 | GAS_get_properties get_properties, void *get_properties_cls); | 399 | int dest_length, |
400 | GAS_bandwidth_changed_cb bw_changed_cb, | ||
401 | void *bw_changed_cb_cls, | ||
402 | GAS_get_preferences get_preference, | ||
403 | void *get_preference_cls, | ||
404 | GAS_get_properties get_properties, | ||
405 | void *get_properties_cls); | ||
399 | 406 | ||
400 | 407 | ||
401 | /** | 408 | /** |
diff --git a/src/ats/libgnunet_plugin_ats_proportional.c b/src/ats/libgnunet_plugin_ats_proportional.c index d6a8c87f1..36a2b89a8 100644 --- a/src/ats/libgnunet_plugin_ats_proportional.c +++ b/src/ats/libgnunet_plugin_ats_proportional.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file ats/gnunet-service-ats-solver_proportional.c | 22 | * @file ats/libgnunet_plugin_ats_proportional.c |
23 | * @brief ATS proportional solver | 23 | * @brief ATS proportional solver |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
diff --git a/src/ats/libgnunet_plugin_ats_proportional.h b/src/ats/libgnunet_plugin_ats_proportional.h index 1de64a808..7f11d96d8 100644 --- a/src/ats/libgnunet_plugin_ats_proportional.h +++ b/src/ats/libgnunet_plugin_ats_proportional.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file ats/gnunet-service-ats-solver_proportional.h | 22 | * @file ats/libgnunet_plugin_ats_proportional.h |
23 | * @brief ATS proportional solver | 23 | * @brief ATS proportional solver |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h index fe333399b..29e169285 100644 --- a/src/include/gnunet_ats_plugin.h +++ b/src/include/gnunet_ats_plugin.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file include/gnunet_solver_plugin.h | 22 | * @file include/gnunet_ats_plugin.h |
23 | * @brief API for the ATS solvers. This header | 23 | * @brief API for the ATS solvers. This header |
24 | * specifies the struct that is given to the plugin's entry | 24 | * specifies the struct that is given to the plugin's entry |
25 | * method and the other struct that must be returned. | 25 | * method and the other struct that must be returned. |