diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
commit | 1c323bd4cbb388a9e7515a1f733a3062bf093aee (patch) | |
tree | 7cc525d79149d44840b9f7a0040aaf3e69ecd665 /src/ats-tests | |
parent | aedaaed687db1ff20b447378f01ad7306921450c (diff) | |
download | gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.tar.gz gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.zip |
fixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
Diffstat (limited to 'src/ats-tests')
-rw-r--r-- | src/ats-tests/ats-testing-preferences.c | 6 | ||||
-rw-r--r-- | src/ats-tests/ats-testing.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ats-tests/ats-testing-preferences.c b/src/ats-tests/ats-testing-preferences.c index 99dbdb0f9..e5f32d6b1 100644 --- a/src/ats-tests/ats-testing-preferences.c +++ b/src/ats-tests/ats-testing-preferences.c | |||
@@ -106,7 +106,10 @@ set_pref_task (void *cls, | |||
106 | GNUNET_ATS_print_preference_type (p->pg->kind), pref_value); | 106 | GNUNET_ATS_print_preference_type (p->pg->kind), pref_value); |
107 | 107 | ||
108 | GNUNET_ATS_performance_change_preference(p->me->ats_perf_handle, | 108 | GNUNET_ATS_performance_change_preference(p->me->ats_perf_handle, |
109 | &p->dest->id, p->pg->kind, pref_value, GNUNET_ATS_PREFERENCE_END); | 109 | &p->dest->id, |
110 | p->pg->kind, | ||
111 | pref_value, | ||
112 | GNUNET_ATS_PREFERENCE_END); | ||
110 | 113 | ||
111 | switch (p->pg->kind) { | 114 | switch (p->pg->kind) { |
112 | case GNUNET_ATS_PREFERENCE_BANDWIDTH: | 115 | case GNUNET_ATS_PREFERENCE_BANDWIDTH: |
@@ -241,4 +244,3 @@ GNUNET_ATS_TEST_generate_preferences_stop_all () | |||
241 | } | 244 | } |
242 | 245 | ||
243 | /* end of file ats-testing-preferences.c */ | 246 | /* end of file ats-testing-preferences.c */ |
244 | |||
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h index 7b1633c28..a2e61c0d6 100644 --- a/src/ats-tests/ats-testing.h +++ b/src/ats-tests/ats-testing.h | |||
@@ -84,8 +84,7 @@ typedef void (*GNUNET_ATS_TEST_TopologySetupDoneCallback) (void *cls, | |||
84 | * @param address_active is address active | 84 | * @param address_active is address active |
85 | * @param bandwidth_out bandwidth outbound | 85 | * @param bandwidth_out bandwidth outbound |
86 | * @param bandwidth_in bandwidth inbound | 86 | * @param bandwidth_in bandwidth inbound |
87 | * @param ats ats information | 87 | * @param prop performance information |
88 | * @param ats_count number of ats inforation | ||
89 | */ | 88 | */ |
90 | typedef void | 89 | typedef void |
91 | (*GNUNET_ATS_TEST_LogRequest) (void *cls, | 90 | (*GNUNET_ATS_TEST_LogRequest) (void *cls, |
@@ -93,8 +92,7 @@ typedef void | |||
93 | int address_active, | 92 | int address_active, |
94 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 93 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, |
95 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, | 94 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, |
96 | const struct GNUNET_ATS_Information *ats, | 95 | const struct GNUNET_ATS_Properties *prop); |
97 | uint32_t ats_count); | ||
98 | 96 | ||
99 | /** | 97 | /** |
100 | * Information we track for a peer in the testbed. | 98 | * Information we track for a peer in the testbed. |