diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 16:47:17 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 16:47:17 +0900 |
commit | 292cefa2a12a78ae54fb56a3961452f439cb744f (patch) | |
tree | 14bcb29874ecab1301c624b375e0df088c03614f /src/fs | |
parent | cbe225ddce5627c59902cfdb9524dead675d19d0 (diff) | |
download | gnunet-292cefa2a12a78ae54fb56a3961452f439cb744f.tar.gz gnunet-292cefa2a12a78ae54fb56a3961452f439cb744f.zip |
BUILD: Attempt to disentable platform.h, gnunet_common.h and gnunet_private_config.h insanity
Diffstat (limited to 'src/fs')
63 files changed, 63 insertions, 0 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 6e97a3812..982517f8f 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "fs_api.h" | 31 | #include "fs_api.h" |
diff --git a/src/fs/fs_directory.c b/src/fs/fs_directory.c index eb7aac5bb..b59dc66cd 100644 --- a/src/fs/fs_directory.c +++ b/src/fs/fs_directory.c | |||
@@ -33,6 +33,7 @@ | |||
33 | * into memory | 33 | * into memory |
34 | */ | 34 | */ |
35 | #include "platform.h" | 35 | #include "platform.h" |
36 | #include "platform.h" | ||
36 | #include "gnunet_fs_service.h" | 37 | #include "gnunet_fs_service.h" |
37 | #include "fs_api.h" | 38 | #include "fs_api.h" |
38 | 39 | ||
diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c index 8dd216324..c6a1e2b1c 100644 --- a/src/fs/fs_dirmetascan.c +++ b/src/fs/fs_dirmetascan.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "gnunet_scheduler_lib.h" | 31 | #include "gnunet_scheduler_lib.h" |
31 | #include <pthread.h> | 32 | #include <pthread.h> |
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 102b297c1..ebef12ab1 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_constants.h" | 27 | #include "gnunet_constants.h" |
27 | #include "gnunet_fs_service.h" | 28 | #include "gnunet_fs_service.h" |
28 | #include "fs_api.h" | 29 | #include "fs_api.h" |
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index dc5db9d3f..b9cf8e8d4 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #if HAVE_EXTRACTOR_H | 28 | #if HAVE_EXTRACTOR_H |
28 | #include <extractor.h> | 29 | #include <extractor.h> |
29 | #endif | 30 | #endif |
diff --git a/src/fs/fs_getopt.c b/src/fs/fs_getopt.c index 43a02a9fa..c61899236 100644 --- a/src/fs/fs_getopt.c +++ b/src/fs/fs_getopt.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Igor Wronsky, Christian Grothoff | 24 | * @author Igor Wronsky, Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_fs_service.h" | 28 | #include "gnunet_fs_service.h" |
28 | #include "gnunet_getopt_lib.h" | 29 | #include "gnunet_getopt_lib.h" |
29 | #include "fs_api.h" | 30 | #include "fs_api.h" |
diff --git a/src/fs/fs_list_indexed.c b/src/fs/fs_list_indexed.c index eaee4ce55..12cb3921c 100644 --- a/src/fs/fs_list_indexed.c +++ b/src/fs/fs_list_indexed.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "gnunet_protocols.h" | 31 | #include "gnunet_protocols.h" |
diff --git a/src/fs/fs_misc.c b/src/fs/fs_misc.c index 2e7816d65..292e19fee 100644 --- a/src/fs/fs_misc.c +++ b/src/fs/fs_misc.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_constants.h" | 27 | #include "gnunet_constants.h" |
27 | #include "gnunet_fs_service.h" | 28 | #include "gnunet_fs_service.h" |
28 | #include "fs_api.h" | 29 | #include "fs_api.h" |
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index bc94dd1fc..124e5a423 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_signatures.h" | 30 | #include "gnunet_signatures.h" |
30 | #include "gnunet_util_lib.h" | 31 | #include "gnunet_util_lib.h" |
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index 5cdf8f6e8..38ce45fc4 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_signatures.h" | 30 | #include "gnunet_signatures.h" |
30 | #include "gnunet_util_lib.h" | 31 | #include "gnunet_util_lib.h" |
diff --git a/src/fs/fs_publish_ksk.c b/src/fs/fs_publish_ksk.c index dae5ccdf3..ce26f352d 100644 --- a/src/fs/fs_publish_ksk.c +++ b/src/fs/fs_publish_ksk.c | |||
@@ -27,6 +27,7 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_constants.h" | 31 | #include "gnunet_constants.h" |
31 | #include "gnunet_signatures.h" | 32 | #include "gnunet_signatures.h" |
32 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
diff --git a/src/fs/fs_publish_ublock.c b/src/fs/fs_publish_ublock.c index aed090bb3..0e4c9fe5b 100644 --- a/src/fs/fs_publish_ublock.c +++ b/src/fs/fs_publish_ublock.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
30 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
31 | #include "fs_publish_ublock.h" | 32 | #include "fs_publish_ublock.h" |
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index 5538b7838..7da2bdec5 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_constants.h" | 27 | #include "gnunet_constants.h" |
27 | #include "gnunet_fs_service.h" | 28 | #include "gnunet_fs_service.h" |
28 | #include "gnunet_protocols.h" | 29 | #include "gnunet_protocols.h" |
diff --git a/src/fs/fs_sharetree.c b/src/fs/fs_sharetree.c index 3610b202e..0dd87c339 100644 --- a/src/fs/fs_sharetree.c +++ b/src/fs/fs_sharetree.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
29 | #include "gnunet_scheduler_lib.h" | 30 | #include "gnunet_scheduler_lib.h" |
30 | #include <pthread.h> | 31 | #include <pthread.h> |
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index f80a2859c..1d0232649 100644 --- a/src/fs/fs_test_lib.c +++ b/src/fs/fs_test_lib.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * @author Christian Grothoff | 27 | * @author Christian Grothoff |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "fs_api.h" | 31 | #include "fs_api.h" |
31 | #include "fs_test_lib.h" | 32 | #include "fs_test_lib.h" |
32 | 33 | ||
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 65f589966..9fe7fbae7 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "fs_tree.h" | 29 | #include "fs_tree.h" |
29 | 30 | ||
30 | 31 | ||
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index 8c27af9de..da9f4ea5a 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @brief Unindex file. | 25 | * @brief Unindex file. |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "gnunet_protocols.h" | 31 | #include "gnunet_protocols.h" |
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index cdea8b72d..8b91646b1 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -81,6 +81,7 @@ | |||
81 | * | 81 | * |
82 | */ | 82 | */ |
83 | #include "platform.h" | 83 | #include "platform.h" |
84 | #include "platform.h" | ||
84 | #include "gnunet_fs_service.h" | 85 | #include "gnunet_fs_service.h" |
85 | #include "gnunet_signatures.h" | 86 | #include "gnunet_signatures.h" |
86 | #include "fs_api.h" | 87 | #include "fs_api.h" |
diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c index f91e9d00d..1c464001f 100644 --- a/src/fs/gnunet-auto-share.c +++ b/src/fs/gnunet-auto-share.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * - add stability timer (a la buildbot) | 27 | * - add stability timer (a la buildbot) |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_util_lib.h" | 31 | #include "gnunet_util_lib.h" |
31 | 32 | ||
32 | #define MAX_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4) | 33 | #define MAX_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4) |
diff --git a/src/fs/gnunet-daemon-fsprofiler.c b/src/fs/gnunet-daemon-fsprofiler.c index fbb7c6028..4ab096ad8 100644 --- a/src/fs/gnunet-daemon-fsprofiler.c +++ b/src/fs/gnunet-daemon-fsprofiler.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * - how to signal driver that we're done? | 27 | * - how to signal driver that we're done? |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_fs_service.h" | 31 | #include "gnunet_fs_service.h" |
31 | #include "gnunet_statistics_service.h" | 32 | #include "gnunet_statistics_service.h" |
32 | 33 | ||
diff --git a/src/fs/gnunet-directory.c b/src/fs/gnunet-directory.c index ef5c40ae2..c9d92acbd 100644 --- a/src/fs/gnunet-directory.c +++ b/src/fs/gnunet-directory.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_fs_service.h" | 27 | #include "gnunet_fs_service.h" |
27 | 28 | ||
28 | static int ret; | 29 | static int ret; |
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c index eebf8e993..25f2af39f 100644 --- a/src/fs/gnunet-download.c +++ b/src/fs/gnunet-download.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Igor Wronsky | 26 | * @author Igor Wronsky |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | 31 | ||
31 | static int ret; | 32 | static int ret; |
diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c index 62da46834..9503d55cf 100644 --- a/src/fs/gnunet-fs-profiler.c +++ b/src/fs/gnunet-fs-profiler.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testbed_service.h" | 29 | #include "gnunet_testbed_service.h" |
29 | 30 | ||
diff --git a/src/fs/gnunet-fs.c b/src/fs/gnunet-fs.c index 0f8f02a1c..1895276aa 100644 --- a/src/fs/gnunet-fs.c +++ b/src/fs/gnunet-fs.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_fs_service.h" | 27 | #include "gnunet_fs_service.h" |
27 | 28 | ||
28 | /** | 29 | /** |
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index ef1a9ce4b..fc2751397 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * and report the results to stdout. | 27 | * and report the results to stdout. |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_fs_service.h" | 31 | #include "gnunet_fs_service.h" |
31 | 32 | ||
32 | 33 | ||
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index c62edcd61..7a9a1fe5d 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Igor Wronsky | 26 | * @author Igor Wronsky |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "gnunet_identity_service.h" | 31 | #include "gnunet_identity_service.h" |
31 | 32 | ||
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c index 54f0095ea..8ea9c0957 100644 --- a/src/fs/gnunet-search.c +++ b/src/fs/gnunet-search.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Igor Wronsky | 26 | * @author Igor Wronsky |
27 | * @author madmurphy | 27 | * @author madmurphy |
28 | */ | 28 | */ |
29 | #include "platform.h" | ||
29 | #include <ctype.h> | 30 | #include <ctype.h> |
30 | #include <inttypes.h> | 31 | #include <inttypes.h> |
31 | #include <limits.h> | 32 | #include <limits.h> |
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 7da92ed44..ce94fade4 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include <float.h> | 28 | #include <float.h> |
28 | #include "gnunet_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_core_service.h" | 30 | #include "gnunet_core_service.h" |
diff --git a/src/fs/gnunet-service-fs_cadet_client.c b/src/fs/gnunet-service-fs_cadet_client.c index 398fcd604..f647dc782 100644 --- a/src/fs/gnunet-service-fs_cadet_client.c +++ b/src/fs/gnunet-service-fs_cadet_client.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * it that way (fine for now) | 28 | * it that way (fine for now) |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_constants.h" | 32 | #include "gnunet_constants.h" |
32 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
33 | #include "gnunet_cadet_service.h" | 34 | #include "gnunet_cadet_service.h" |
diff --git a/src/fs/gnunet-service-fs_cadet_server.c b/src/fs/gnunet-service-fs_cadet_server.c index 8bfe91cf0..ecfdf437a 100644 --- a/src/fs/gnunet-service-fs_cadet_server.c +++ b/src/fs/gnunet-service-fs_cadet_server.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * it that way (fine for now) | 28 | * it that way (fine for now) |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_constants.h" | 32 | #include "gnunet_constants.h" |
32 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
33 | #include "gnunet_cadet_service.h" | 34 | #include "gnunet_cadet_service.h" |
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 29e4c5910..cd74ba441 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_load_lib.h" | 28 | #include "gnunet_load_lib.h" |
28 | #include "gnunet-service-fs.h" | 29 | #include "gnunet-service-fs.h" |
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index b88cbe365..43ae2e9f2 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include <float.h> | 28 | #include <float.h> |
28 | #include "gnunet_core_service.h" | 29 | #include "gnunet_core_service.h" |
29 | #include "gnunet_datastore_service.h" | 30 | #include "gnunet_datastore_service.h" |
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 60dd0ab70..cccc8905b 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet-service-fs.h" | 28 | #include "gnunet-service-fs.h" |
28 | #include "gnunet-service-fs_cp.h" | 29 | #include "gnunet-service-fs_cp.h" |
29 | #include "gnunet-service-fs_pe.h" | 30 | #include "gnunet-service-fs_pe.h" |
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index b938e3593..9a9510158 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_load_lib.h" | 29 | #include "gnunet_load_lib.h" |
29 | #include "gnunet-service-fs.h" | 30 | #include "gnunet-service-fs.h" |
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index 92dbba8e6..a2d387208 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet-service-fs.h" | 29 | #include "gnunet-service-fs.h" |
29 | #include "gnunet-service-fs_cp.h" | 30 | #include "gnunet-service-fs_cp.h" |
30 | #include "gnunet-service-fs_indexing.h" | 31 | #include "gnunet-service-fs_indexing.h" |
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c index ca2c85724..e997322fd 100644 --- a/src/fs/gnunet-service-fs_put.c +++ b/src/fs/gnunet-service-fs_put.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet-service-fs.h" | 28 | #include "gnunet-service-fs.h" |
28 | #include "gnunet-service-fs_put.h" | 29 | #include "gnunet-service-fs_put.h" |
29 | 30 | ||
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c index afc547127..fb1a96455 100644 --- a/src/fs/gnunet-unindex.c +++ b/src/fs/gnunet-unindex.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Igor Wronsky | 26 | * @author Igor Wronsky |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | 31 | ||
31 | static int ret; | 32 | static int ret; |
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index 2c7830f5f..6ae218db6 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "fs_test_lib.h" | 28 | #include "fs_test_lib.h" |
28 | #include "gnunet_testbed_service.h" | 29 | #include "gnunet_testbed_service.h" |
29 | 30 | ||
diff --git a/src/fs/perf_gnunet_service_fs_p2p_respect.c b/src/fs/perf_gnunet_service_fs_p2p_respect.c index 6b71b1f93..989039558 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_respect.c +++ b/src/fs/perf_gnunet_service_fs_p2p_respect.c | |||
@@ -44,6 +44,7 @@ | |||
44 | * Download speed of type `leach` was 1384 KiB/s | 44 | * Download speed of type `leach` was 1384 KiB/s |
45 | */ | 45 | */ |
46 | #include "platform.h" | 46 | #include "platform.h" |
47 | #include "platform.h" | ||
47 | #include "fs_test_lib.h" | 48 | #include "fs_test_lib.h" |
48 | #include "gnunet_testbed_service.h" | 49 | #include "gnunet_testbed_service.h" |
49 | 50 | ||
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c index 11677a6b2..6a81f2347 100644 --- a/src/fs/plugin_block_fs.c +++ b/src/fs/plugin_block_fs.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_block_plugin.h" | 28 | #include "gnunet_block_plugin.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
29 | #include "block_fs.h" | 30 | #include "block_fs.h" |
diff --git a/src/fs/test_fs.c b/src/fs/test_fs.c index 7a57e98b0..bec4b5d98 100644 --- a/src/fs/test_fs.c +++ b/src/fs/test_fs.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_util.h" | 29 | #include "gnunet_util.h" |
29 | #include "gnunet_fsui_lib.h" | 30 | #include "gnunet_fsui_lib.h" |
30 | 31 | ||
diff --git a/src/fs/test_fs_directory.c b/src/fs/test_fs_directory.c index 908e7c555..fe0d81959 100644 --- a/src/fs/test_fs_directory.c +++ b/src/fs/test_fs_directory.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #if HAVE_EXTRACTOR_H | 27 | #if HAVE_EXTRACTOR_H |
27 | #include <extractor.h> | 28 | #include <extractor.h> |
28 | #endif | 29 | #endif |
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c index 2fe0da77c..bff66d7e6 100644 --- a/src/fs/test_fs_download.c +++ b/src/fs/test_fs_download.c | |||
@@ -25,6 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
30 | #include "gnunet_testing_lib.h" | 31 | #include "gnunet_testing_lib.h" |
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c index 35d4ed441..f3bf75a3f 100644 --- a/src/fs/test_fs_download_persistence.c +++ b/src/fs/test_fs_download_persistence.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_file_information.c b/src/fs/test_fs_file_information.c index 22013db27..f7c09c77a 100644 --- a/src/fs/test_fs_file_information.c +++ b/src/fs/test_fs_file_information.c | |||
@@ -32,6 +32,7 @@ | |||
32 | * filedata-from-callback) | 32 | * filedata-from-callback) |
33 | */ | 33 | */ |
34 | #include "platform.h" | 34 | #include "platform.h" |
35 | #include "platform.h" | ||
35 | #include "gnunet_util_lib.h" | 36 | #include "gnunet_util_lib.h" |
36 | #include "gnunet_fs_service.h" | 37 | #include "gnunet_fs_service.h" |
37 | 38 | ||
diff --git a/src/fs/test_fs_getopt.c b/src/fs/test_fs_getopt.c index 3d0da752b..00510e2f5 100644 --- a/src/fs/test_fs_getopt.c +++ b/src/fs/test_fs_getopt.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_fs_service.h" | 27 | #include "gnunet_fs_service.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index 2f04a017a..4d037a524 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * - actually call list_indexed API! | 28 | * - actually call list_indexed API! |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_util_lib.h" | 32 | #include "gnunet_util_lib.h" |
32 | #include "gnunet_testing_lib.h" | 33 | #include "gnunet_testing_lib.h" |
33 | #include "gnunet_fs_service.h" | 34 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c index c1e10d575..c3c8bc1c5 100644 --- a/src/fs/test_fs_namespace.c +++ b/src/fs/test_fs_namespace.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c index 2132220fb..c14791d77 100644 --- a/src/fs/test_fs_namespace_list_updateable.c +++ b/src/fs/test_fs_namespace_list_updateable.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index 2ffc722da..6acc66475 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c index da0209793..f6864b86e 100644 --- a/src/fs/test_fs_publish_persistence.c +++ b/src/fs/test_fs_publish_persistence.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index b392cc8ac..ebcff83bb 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_search_persistence.c b/src/fs/test_fs_search_persistence.c index d523a6404..e745ee54a 100644 --- a/src/fs/test_fs_search_persistence.c +++ b/src/fs/test_fs_search_persistence.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_search_probes.c b/src/fs/test_fs_search_probes.c index b3c717aa1..3367bd950 100644 --- a/src/fs/test_fs_search_probes.c +++ b/src/fs/test_fs_search_probes.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_search_with_and.c b/src/fs/test_fs_search_with_and.c index 2187f4531..157bd5ed4 100644 --- a/src/fs/test_fs_search_with_and.c +++ b/src/fs/test_fs_search_with_and.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Bruno Cabral - 99% based on Christian Grothoff code | 23 | * @author Bruno Cabral - 99% based on Christian Grothoff code |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_testing_lib.h" | 28 | #include "gnunet_testing_lib.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_start_stop.c b/src/fs/test_fs_start_stop.c index 509fbe76a..93e4ec3e6 100644 --- a/src/fs/test_fs_start_stop.c +++ b/src/fs/test_fs_start_stop.c | |||
@@ -24,6 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 714dd452e..3c318648c 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "fs_test_lib.h" | 28 | #include "fs_test_lib.h" |
28 | 29 | ||
29 | #define VERBOSE GNUNET_NO | 30 | #define VERBOSE GNUNET_NO |
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index 992672244..f7928a19b 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_fs_service.h" | 29 | #include "gnunet_fs_service.h" |
29 | #include "gnunet_testing_lib.h" | 30 | #include "gnunet_testing_lib.h" |
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 802aaf7ca..9ff5cf453 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "gnunet_testing_lib.h" | 29 | #include "gnunet_testing_lib.h" |
29 | #include "gnunet_fs_service.h" | 30 | #include "gnunet_fs_service.h" |
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c index e0f23097b..c7b794f07 100644 --- a/src/fs/test_fs_uri.c +++ b/src/fs/test_fs_uri.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_util_lib.h" | 27 | #include "gnunet_util_lib.h" |
27 | #include "gnunet_fs_service.h" | 28 | #include "gnunet_fs_service.h" |
28 | #include "fs_api.h" | 29 | #include "fs_api.h" |
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 38b00f3e8..51b98d26a 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "fs_test_lib.h" | 28 | #include "fs_test_lib.h" |
28 | #include "gnunet_testbed_service.h" | 29 | #include "gnunet_testbed_service.h" |
29 | 30 | ||
diff --git a/src/fs/test_gnunet_service_fs_p2p.c b/src/fs/test_gnunet_service_fs_p2p.c index 2d1fbb788..265b0de9c 100644 --- a/src/fs/test_gnunet_service_fs_p2p.c +++ b/src/fs/test_gnunet_service_fs_p2p.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "fs_test_lib.h" | 28 | #include "fs_test_lib.h" |
28 | 29 | ||
29 | #define VERBOSE GNUNET_NO | 30 | #define VERBOSE GNUNET_NO |
diff --git a/src/fs/test_plugin_block_fs.c b/src/fs/test_plugin_block_fs.c index f15d10b17..22ef87412 100644 --- a/src/fs/test_plugin_block_fs.c +++ b/src/fs/test_plugin_block_fs.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_block_lib.h" | 27 | #include "gnunet_block_lib.h" |
27 | 28 | ||
28 | 29 | ||