diff options
Diffstat (limited to 'src/fs/gnunet-service-fs.h')
-rw-r--r-- | src/fs/gnunet-service-fs.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index 21a822c6d..9c87115ed 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h | |||
@@ -48,7 +48,8 @@ | |||
48 | * automatically (since if we don't use it, clearly the | 48 | * automatically (since if we don't use it, clearly the |
49 | * load must be going down). | 49 | * load must be going down). |
50 | */ | 50 | */ |
51 | #define DATASTORE_LOAD_AUTODECLINE GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MILLISECONDS, 250) | 51 | #define DATASTORE_LOAD_AUTODECLINE GNUNET_TIME_relative_multiply ( \ |
52 | GNUNET_TIME_UNIT_MILLISECONDS, 250) | ||
52 | 53 | ||
53 | /** | 54 | /** |
54 | * Only the (mandatory) query is included. | 55 | * Only the (mandatory) query is included. |
@@ -79,7 +80,8 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
79 | /** | 80 | /** |
80 | * Message sent between peers asking for FS-content. | 81 | * Message sent between peers asking for FS-content. |
81 | */ | 82 | */ |
82 | struct GetMessage { | 83 | struct GetMessage |
84 | { | ||
83 | /** | 85 | /** |
84 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_GET. | 86 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_GET. |
85 | */ | 87 | */ |
@@ -134,7 +136,8 @@ struct GetMessage { | |||
134 | * Message send by a peer that wants to be excluded | 136 | * Message send by a peer that wants to be excluded |
135 | * from migration for a while. | 137 | * from migration for a while. |
136 | */ | 138 | */ |
137 | struct MigrationStopMessage { | 139 | struct MigrationStopMessage |
140 | { | ||
138 | /** | 141 | /** |
139 | * Message type will be | 142 | * Message type will be |
140 | * GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP. | 143 | * GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP. |
@@ -275,9 +278,9 @@ extern unsigned int GSF_datastore_queue_size; | |||
275 | * @param result final datastore lookup result | 278 | * @param result final datastore lookup result |
276 | */ | 279 | */ |
277 | void | 280 | void |
278 | GSF_consider_forwarding(void *cls, | 281 | GSF_consider_forwarding (void *cls, |
279 | struct GSF_PendingRequest *pr, | 282 | struct GSF_PendingRequest *pr, |
280 | enum GNUNET_BLOCK_EvaluationResult result); | 283 | enum GNUNET_BLOCK_EvaluationResult result); |
281 | 284 | ||
282 | 285 | ||
283 | /** | 286 | /** |
@@ -290,7 +293,7 @@ GSF_consider_forwarding(void *cls, | |||
290 | * #GNUNET_SYSERR to process for free (load low) | 293 | * #GNUNET_SYSERR to process for free (load low) |
291 | */ | 294 | */ |
292 | int | 295 | int |
293 | GSF_test_get_load_too_high_(uint32_t priority); | 296 | GSF_test_get_load_too_high_ (uint32_t priority); |
294 | 297 | ||
295 | 298 | ||
296 | /** | 299 | /** |
@@ -300,7 +303,7 @@ GSF_test_get_load_too_high_(uint32_t priority); | |||
300 | * @param start time when the datastore request was issued | 303 | * @param start time when the datastore request was issued |
301 | */ | 304 | */ |
302 | void | 305 | void |
303 | GSF_update_datastore_delay_(struct GNUNET_TIME_Absolute start); | 306 | GSF_update_datastore_delay_ (struct GNUNET_TIME_Absolute start); |
304 | 307 | ||
305 | 308 | ||
306 | #endif | 309 | #endif |