X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fats%2Flibgnunet_plugin_ats_mlp.h;h=b113e3ec395a47e221f21c3d5d2dc371060448f3;hb=056f559d916d785164f40e63ca56c153ea0e9ebe;hp=6d04bbe80d80125be862b8ef6537eb958ec21cb9;hpb=8929c943f1f57aaf48a1bc3f6edc9939698e688b;p=oweals%2Fgnunet.git diff --git a/src/ats/libgnunet_plugin_ats_mlp.h b/src/ats/libgnunet_plugin_ats_mlp.h index 6d04bbe80..b113e3ec3 100644 --- a/src/ats/libgnunet_plugin_ats_mlp.h +++ b/src/ats/libgnunet_plugin_ats_mlp.h @@ -18,7 +18,7 @@ */ /** - * @file ats/gnunet-service-ats-solver_mlp.h + * @file ats/libgnunet_plugin_ats_mlp.h * @brief ats MLP problem solver * @author Matthias Wachs * @author Christian Grothoff @@ -376,6 +376,7 @@ GAS_mlp_solve_problem (void *solver); * * @param cfg the GNUNET_CONFIGURATION_Handle handle * @param stats the GNUNET_STATISTICS handle + * @param addresses Hashmap containing addresses * @param network array of GNUNET_ATS_NetworkType with length dest_length * @param out_dest array of outbound quotas * @param in_dest array of outbound quota @@ -383,19 +384,25 @@ GAS_mlp_solve_problem (void *solver); * @param bw_changed_cb callback for changed bandwidth amounts * @param bw_changed_cb_cls cls for callback * @param get_preference callback to get relative preferences for a peer - * @param get_preference callback to get relative preferences for a peer - * @param get_properties_cls for callback to get relative properties + * @param get_preference_cls cls for callback to get relative preferences for a peer + * @param get_properties callback to get relative properties * @param get_properties_cls cls for callback to get relative properties * @return struct GAS_MLP_Handle on success, NULL on fail */ void * GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_STATISTICS_Handle *stats, - const struct GNUNET_CONTAINER_MultiPeerMap *addresses, int *network, - unsigned long long *out_dest, unsigned long long *in_dest, int dest_length, - GAS_bandwidth_changed_cb bw_changed_cb, void *bw_changed_cb_cls, - GAS_get_preferences get_preference, void *get_preference_cls, - GAS_get_properties get_properties, void *get_properties_cls); + const struct GNUNET_CONTAINER_MultiPeerMap *addresses, + int *network, + unsigned long long *out_dest, + unsigned long long *in_dest, + int dest_length, + GAS_bandwidth_changed_cb bw_changed_cb, + void *bw_changed_cb_cls, + GAS_get_preferences get_preference, + void *get_preference_cls, + GAS_get_properties get_properties, + void *get_properties_cls); /**