diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-25 12:16:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-25 12:16:24 +0000 |
commit | f13909574bb89556bbb54e5555ed56ceee5a9f61 (patch) | |
tree | f3a294971445b5497f740c928dbacec28a450ed5 /src/fs/gnunet-service-fs.h | |
parent | f88dc96655c7d92efb65c80ebc85f55e64ec86b5 (diff) | |
download | gnunet-f13909574bb89556bbb54e5555ed56ceee5a9f61.tar.gz gnunet-f13909574bb89556bbb54e5555ed56ceee5a9f61.zip |
-towards using ATS for latency info
Diffstat (limited to 'src/fs/gnunet-service-fs.h')
-rw-r--r-- | src/fs/gnunet-service-fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index 60075e097..8830058e9 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "gnunet_transport_service.h" | 31 | #include "gnunet_transport_service.h" |
32 | #include "gnunet_core_service.h" | 32 | #include "gnunet_core_service.h" |
33 | #include "gnunet_block_lib.h" | 33 | #include "gnunet_block_lib.h" |
34 | #include "gnunet_ats_service.h" | ||
34 | #include "fs.h" | 35 | #include "fs.h" |
35 | 36 | ||
36 | 37 | ||
@@ -218,6 +219,12 @@ extern struct GNUNET_LOAD_Value *GSF_rt_entry_lifetime; | |||
218 | extern struct GNUNET_TIME_Relative GSF_avg_latency; | 219 | extern struct GNUNET_TIME_Relative GSF_avg_latency; |
219 | 220 | ||
220 | /** | 221 | /** |
222 | * Handle to ATS service. | ||
223 | */ | ||
224 | extern struct GNUNET_ATS_PerformanceHandle *GSF_ats; | ||
225 | |||
226 | |||
227 | /** | ||
221 | * Typical priorities we're seeing from other peers right now. Since | 228 | * Typical priorities we're seeing from other peers right now. Since |
222 | * most priorities will be zero, this value is the weighted average of | 229 | * most priorities will be zero, this value is the weighted average of |
223 | * non-zero priorities seen "recently". In order to ensure that new | 230 | * non-zero priorities seen "recently". In order to ensure that new |