aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses_mlp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses_mlp.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses_mlp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.h b/src/ats/gnunet-service-ats_addresses_mlp.h
index d37eea752..af3625c8d 100644
--- a/src/ats/gnunet-service-ats_addresses_mlp.h
+++ b/src/ats/gnunet-service-ats_addresses_mlp.h
@@ -321,11 +321,9 @@ struct MLP_information
321 * @param max_iterations maximum time limit for the LP/MLP Solver 321 * @param max_iterations maximum time limit for the LP/MLP Solver
322 * @return struct GAS_MLP_Handle * on success, NULL on fail 322 * @return struct GAS_MLP_Handle * on success, NULL on fail
323 */ 323 */
324struct GAS_MLP_Handle * 324void *
325GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg, 325GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg,
326 const struct GNUNET_STATISTICS_Handle *stats, 326 const struct GNUNET_STATISTICS_Handle *stats);
327 struct GNUNET_TIME_Relative max_duration,
328 unsigned int max_iterations);
329 327
330/** 328/**
331 * Solves the MLP problem on demand 329 * Solves the MLP problem on demand
@@ -367,7 +365,7 @@ GAS_mlp_address_update (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_Mult
367 * @param address the address to delete 365 * @param address the address to delete
368 */ 366 */
369void 367void
370GAS_mlp_address_delete (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_MultiHashMap * addresses, struct ATS_Address *address); 368GAS_mlp_address_delete (void *solver, struct GNUNET_CONTAINER_MultiHashMap * addresses, struct ATS_Address *address);
371 369
372 370
373/** 371/**
@@ -379,7 +377,7 @@ GAS_mlp_address_delete (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_Mult
379 * @param score the score 377 * @param score the score
380 */ 378 */
381void 379void
382GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, 380GAS_mlp_address_change_preference (void *solver,
383 const struct GNUNET_PeerIdentity *peer, 381 const struct GNUNET_PeerIdentity *peer,
384 enum GNUNET_ATS_PreferenceKind kind, 382 enum GNUNET_ATS_PreferenceKind kind,
385 float score); 383 float score);