diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_math.h')
-rw-r--r-- | src/ats/gnunet-service-ats_math.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/gnunet-service-ats_math.h b/src/ats/gnunet-service-ats_math.h index 4af1bdc4c..1324c30d0 100644 --- a/src/ats/gnunet-service-ats_math.h +++ b/src/ats/gnunet-service-ats_math.h | |||
@@ -67,13 +67,13 @@ | |||
67 | struct ATS_mechanism; | 67 | struct ATS_mechanism; |
68 | struct ATS_peer; | 68 | struct ATS_peer; |
69 | 69 | ||
70 | typedef void (*GNUNET_TRANSPORT_ATS_AddressNotification) (struct ATS_peer ** | 70 | typedef void (*GNUNET_ATS_AddressNotification) (struct ATS_peer ** |
71 | peers, int *c_p, | 71 | peers, int *c_p, |
72 | struct ATS_mechanism | 72 | struct ATS_mechanism |
73 | ** mechanisms, | 73 | ** mechanisms, |
74 | int *c_m); | 74 | int *c_m); |
75 | 75 | ||
76 | typedef void (*GNUNET_TRANSPORT_ATS_ResultCallback) (void); | 76 | typedef void (*GNUNET_ATS_ResultCallback) (void); |
77 | 77 | ||
78 | enum ATS_problem_state | 78 | enum ATS_problem_state |
79 | { | 79 | { |
@@ -211,9 +211,9 @@ struct ATS_Handle | |||
211 | * Callback functions | 211 | * Callback functions |
212 | */ | 212 | */ |
213 | 213 | ||
214 | GNUNET_TRANSPORT_ATS_AddressNotification addr_notification; | 214 | GNUNET_ATS_AddressNotification addr_notification; |
215 | 215 | ||
216 | GNUNET_TRANSPORT_ATS_ResultCallback result_cb; | 216 | GNUNET_ATS_ResultCallback result_cb; |
217 | 217 | ||
218 | 218 | ||
219 | /** | 219 | /** |
@@ -452,8 +452,8 @@ static struct ATS_quality_metric qm[] = { | |||
452 | struct ATS_Handle * | 452 | struct ATS_Handle * |
453 | ats_init (double D, double U, double R, int v_b_min, int v_n_min, | 453 | ats_init (double D, double U, double R, int v_b_min, int v_n_min, |
454 | int max_iterations, struct GNUNET_TIME_Relative max_duration, | 454 | int max_iterations, struct GNUNET_TIME_Relative max_duration, |
455 | GNUNET_TRANSPORT_ATS_AddressNotification address_not, | 455 | GNUNET_ATS_AddressNotification address_not, |
456 | GNUNET_TRANSPORT_ATS_ResultCallback res_cb); | 456 | GNUNET_ATS_ResultCallback res_cb); |
457 | 457 | ||
458 | void | 458 | void |
459 | ats_shutdown (struct ATS_Handle *ats); | 459 | ats_shutdown (struct ATS_Handle *ats); |