aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_math.h')
-rw-r--r--src/ats/gnunet-service-ats_math.h12
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 @@
67struct ATS_mechanism; 67struct ATS_mechanism;
68struct ATS_peer; 68struct ATS_peer;
69 69
70typedef void (*GNUNET_TRANSPORT_ATS_AddressNotification) (struct ATS_peer ** 70typedef 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
76typedef void (*GNUNET_TRANSPORT_ATS_ResultCallback) (void); 76typedef void (*GNUNET_ATS_ResultCallback) (void);
77 77
78enum ATS_problem_state 78enum 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[] = {
452struct ATS_Handle * 452struct ATS_Handle *
453ats_init (double D, double U, double R, int v_b_min, int v_n_min, 453ats_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
458void 458void
459ats_shutdown (struct ATS_Handle *ats); 459ats_shutdown (struct ATS_Handle *ats);