diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses_mlp.h')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses_mlp.h | 10 |
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 | */ |
324 | struct GAS_MLP_Handle * | 324 | void * |
325 | GAS_mlp_init (const struct GNUNET_CONFIGURATION_Handle *cfg, | 325 | GAS_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 | */ |
369 | void | 367 | void |
370 | GAS_mlp_address_delete (struct GAS_MLP_Handle *mlp, struct GNUNET_CONTAINER_MultiHashMap * addresses, struct ATS_Address *address); | 368 | GAS_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 | */ |
381 | void | 379 | void |
382 | GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, | 380 | GAS_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); |