diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-13 10:40:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-13 10:40:10 +0000 |
commit | e7d1ebe3e0950968c4fe4899af2510f044f04c9f (patch) | |
tree | 92a8c50bad202d9d3b401b69279db5803bbeb653 /src/include | |
parent | 1bd94de53f074f451440dc9a8d466359f35f00c1 (diff) | |
download | gnunet-e7d1ebe3e0950968c4fe4899af2510f044f04c9f.tar.gz gnunet-e7d1ebe3e0950968c4fe4899af2510f044f04c9f.zip |
cost report is not used
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index fdd298e7f..b47843188 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -159,26 +159,6 @@ typedef struct GNUNET_TIME_Relative (*GNUNET_TRANSPORT_TrafficReport) (void *cls | |||
159 | 159 | ||
160 | 160 | ||
161 | /** | 161 | /** |
162 | * Function called whenever the plugin has to notify ATS about costs for using this transport | ||
163 | * | ||
164 | * The cost will be passed as struct GNUNET_TRANSPORT_ATS_Cost_Information[] | ||
165 | * This array is 0-terminated, so the last element will be a pair: | ||
166 | * ((cost->cost_type==GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR) && cost->cost_value==0)) | ||
167 | * | ||
168 | * @param cls closure | ||
169 | * @param peer peer | ||
170 | * @param addr peer address | ||
171 | * @param addrlen address length | ||
172 | * @param cost pointer to the first element of struct GNUNET_TRANSPORT_ATS_Cost_Information[] | ||
173 | */ | ||
174 | typedef void (*GNUNET_TRANSPORT_CostReport) (void *cls, | ||
175 | const struct GNUNET_PeerIdentity *peer, | ||
176 | const void *addr, | ||
177 | uint16_t addrlen, | ||
178 | struct GNUNET_TRANSPORT_ATS_Information * cost); | ||
179 | |||
180 | |||
181 | /** | ||
182 | * Function that returns a HELLO message. | 162 | * Function that returns a HELLO message. |
183 | */ | 163 | */ |
184 | typedef const struct GNUNET_MessageHeader * (*GNUNET_TRANSPORT_GetHelloCallback)(void); | 164 | typedef const struct GNUNET_MessageHeader * (*GNUNET_TRANSPORT_GetHelloCallback)(void); |
@@ -237,11 +217,6 @@ struct GNUNET_TRANSPORT_PluginEnvironment | |||
237 | GNUNET_TRANSPORT_SessionEnd session_end; | 217 | GNUNET_TRANSPORT_SessionEnd session_end; |
238 | 218 | ||
239 | /** | 219 | /** |
240 | * Inform service about costs for using this transport plugin | ||
241 | */ | ||
242 | GNUNET_TRANSPORT_CostReport cost_report; | ||
243 | |||
244 | /** | ||
245 | * What is the maximum number of connections that this transport | 220 | * What is the maximum number of connections that this transport |
246 | * should allow? Transports that do not have sessions (such as | 221 | * should allow? Transports that do not have sessions (such as |
247 | * UDP) can ignore this value. | 222 | * UDP) can ignore this value. |