diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-05 12:52:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-05 12:52:20 +0000 |
commit | c55971f17dc99f9833af48e078c8f681be771cb7 (patch) | |
tree | 544fd671b67903506419c98d463d086a696e25a1 /src/include/gnunet_ats_plugin.h | |
parent | 15dd8e6cc1199d611d804853e134882bf13b234a (diff) | |
download | gnunet-c55971f17dc99f9833af48e078c8f681be771cb7.tar.gz gnunet-c55971f17dc99f9833af48e078c8f681be771cb7.zip |
big ATS refactoring, no serious semantic changes should stem from this
Diffstat (limited to 'src/include/gnunet_ats_plugin.h')
-rw-r--r-- | src/include/gnunet_ats_plugin.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h index 02875a070..e2272fdc8 100644 --- a/src/include/gnunet_ats_plugin.h +++ b/src/include/gnunet_ats_plugin.h | |||
@@ -128,34 +128,6 @@ typedef void | |||
128 | struct ATS_Address *address, uint32_t type, uint32_t abs_value, | 128 | struct ATS_Address *address, uint32_t type, uint32_t abs_value, |
129 | double rel_value); | 129 | double rel_value); |
130 | 130 | ||
131 | /** | ||
132 | * Transport session for this address has changed | ||
133 | * | ||
134 | * NOTE: values in addresses are already updated | ||
135 | * | ||
136 | * @param solver solver handle | ||
137 | * @param address the address | ||
138 | * @param cur_session the current session | ||
139 | * @param new_session the new session | ||
140 | */ | ||
141 | typedef void | ||
142 | (*GAS_solver_address_session_changed) (void *solver, | ||
143 | struct ATS_Address *address, uint32_t cur_session, uint32_t new_session); | ||
144 | |||
145 | |||
146 | /** | ||
147 | * Network scope for this address has changed | ||
148 | * | ||
149 | * NOTE: values in addresses are already updated | ||
150 | * | ||
151 | * @param solver solver handle | ||
152 | * @param address the address | ||
153 | * @param current_network the current network | ||
154 | * @param new_network the new network | ||
155 | */ | ||
156 | typedef void | ||
157 | (*GAS_solver_address_network_changed) (void *solver, | ||
158 | struct ATS_Address *address, uint32_t current_network, uint32_t new_network); | ||
159 | 131 | ||
160 | /** | 132 | /** |
161 | * Get the prefered address for a peer from solver | 133 | * Get the prefered address for a peer from solver |
@@ -201,16 +173,6 @@ struct GNUNET_ATS_SolverFunctions | |||
201 | GAS_solver_address_property_changed s_address_update_property; | 173 | GAS_solver_address_property_changed s_address_update_property; |
202 | 174 | ||
203 | /** | 175 | /** |
204 | * Update the session of an address in the solver | ||
205 | */ | ||
206 | GAS_solver_address_session_changed s_address_update_session; | ||
207 | |||
208 | /** | ||
209 | * Notify solver that the network an address is located in has changed | ||
210 | */ | ||
211 | GAS_solver_address_network_changed s_address_update_network; | ||
212 | |||
213 | /** | ||
214 | * Tell solver to notify ATS if the address to use changes for a specific | 176 | * Tell solver to notify ATS if the address to use changes for a specific |
215 | * peer using the bandwidth changed callback | 177 | * peer using the bandwidth changed callback |
216 | * | 178 | * |