diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-05 21:37:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-05 21:37:50 +0000 |
commit | 612f87ce7ff13706d291c441de26eaf15ded5199 (patch) | |
tree | 88d9edda55fd81ac556e9aec147c4701fac3bb05 /src/include/gnunet_fs_service.h | |
parent | b66f2c50a63b8d1242eb5583fd49b33abee4183c (diff) | |
download | gnunet-612f87ce7ff13706d291c441de26eaf15ded5199.tar.gz gnunet-612f87ce7ff13706d291c441de26eaf15ded5199.zip |
-signal to applications that a probe is active
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index b35134313..08d5daba0 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -68,6 +68,12 @@ extern "C" | |||
68 | 68 | ||
69 | 69 | ||
70 | /** | 70 | /** |
71 | * How often do we signal applications that a probe for a particular | ||
72 | * search result is running? (used to visualize probes). | ||
73 | */ | ||
74 | #define GNUNET_FS_PROBE_UPDATE_FREQUENCY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 100) | ||
75 | |||
76 | /** | ||
71 | * A Universal Resource Identifier (URI), opaque. | 77 | * A Universal Resource Identifier (URI), opaque. |
72 | */ | 78 | */ |
73 | struct GNUNET_FS_Uri; | 79 | struct GNUNET_FS_Uri; |
@@ -1269,6 +1275,11 @@ struct GNUNET_FS_ProgressInfo | |||
1269 | */ | 1275 | */ |
1270 | uint32_t applicability_rank; | 1276 | uint32_t applicability_rank; |
1271 | 1277 | ||
1278 | /** | ||
1279 | * How long has the current probe been active? | ||
1280 | */ | ||
1281 | struct GNUNET_TIME_Relative current_probe_time; | ||
1282 | |||
1272 | } update; | 1283 | } update; |
1273 | 1284 | ||
1274 | /** | 1285 | /** |