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/cadet | |
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/cadet')
23 files changed, 23 insertions, 0 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 0bfb01868..63ea6b9fe 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_api_drop_message.c b/src/cadet/cadet_api_drop_message.c index e172418c4..c95121d97 100644 --- a/src/cadet/cadet_api_drop_message.c +++ b/src/cadet/cadet_api_drop_message.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author t3sserakt | 23 | * @author t3sserakt |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "cadet.h" | 27 | #include "cadet.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/cadet/cadet_api_get_channel.c b/src/cadet/cadet_api_get_channel.c index 05e2a8383..9b7b53fdb 100644 --- a/src/cadet/cadet_api_get_channel.c +++ b/src/cadet/cadet_api_get_channel.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_api_get_path.c b/src/cadet/cadet_api_get_path.c index f32a5e20b..d09c59866 100644 --- a/src/cadet/cadet_api_get_path.c +++ b/src/cadet/cadet_api_get_path.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_api_helper.c b/src/cadet/cadet_api_helper.c index 52aec6cc9..a616f2099 100644 --- a/src/cadet/cadet_api_helper.c +++ b/src/cadet/cadet_api_helper.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_api_list_peers.c b/src/cadet/cadet_api_list_peers.c index 52f59cc74..25509f2d4 100644 --- a/src/cadet/cadet_api_list_peers.c +++ b/src/cadet/cadet_api_list_peers.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_api_list_tunnels.c b/src/cadet/cadet_api_list_tunnels.c index dce12835f..70a1626e2 100644 --- a/src/cadet/cadet_api_list_tunnels.c +++ b/src/cadet/cadet_api_list_tunnels.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_constants.h" | 29 | #include "gnunet_constants.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/cadet_test_lib.c b/src/cadet/cadet_test_lib.c index 9c7b9063d..befec480b 100644 --- a/src/cadet/cadet_test_lib.c +++ b/src/cadet/cadet_test_lib.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @brief library for writing CADET tests | 23 | * @brief library for writing CADET tests |
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 "cadet_test_lib.h" | 28 | #include "cadet_test_lib.h" |
28 | #include "gnunet_cadet_service.h" | 29 | #include "gnunet_cadet_service.h" |
diff --git a/src/cadet/desirability_table.c b/src/cadet/desirability_table.c index 829c618af..b4db7c2dd 100644 --- a/src/cadet/desirability_table.c +++ b/src/cadet/desirability_table.c | |||
@@ -5,6 +5,7 @@ | |||
5 | * for various plausible inputs. | 5 | * for various plausible inputs. |
6 | * @author Christian Grothoff | 6 | * @author Christian Grothoff |
7 | */ | 7 | */ |
8 | #include "platform.h" | ||
8 | #include <stdio.h> | 9 | #include <stdio.h> |
9 | 10 | ||
10 | int | 11 | int |
diff --git a/src/cadet/gnunet-cadet-profiler.c b/src/cadet/gnunet-cadet-profiler.c index b84337370..9d612c8e6 100644 --- a/src/cadet/gnunet-cadet-profiler.c +++ b/src/cadet/gnunet-cadet-profiler.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * | 22 | * |
23 | * @brief Profiler for cadet experiments. | 23 | * @brief Profiler for cadet experiments. |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include <stdio.h> | 26 | #include <stdio.h> |
26 | #include "platform.h" | 27 | #include "platform.h" |
27 | #include "cadet_test_lib.h" | 28 | #include "cadet_test_lib.h" |
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 9b7538ae7..d52104d1f 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.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_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_cadet_service.h" | 30 | #include "gnunet_cadet_service.h" |
30 | #include "cadet.h" | 31 | #include "cadet.h" |
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index 07b580005..09dcf5ecb 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c | |||
@@ -33,6 +33,7 @@ | |||
33 | * have properties like reliability. | 33 | * have properties like reliability. |
34 | */ | 34 | */ |
35 | #include "platform.h" | 35 | #include "platform.h" |
36 | #include "platform.h" | ||
36 | #include "gnunet_util_lib.h" | 37 | #include "gnunet_util_lib.h" |
37 | #include "cadet.h" | 38 | #include "cadet.h" |
38 | #include "gnunet_statistics_service.h" | 39 | #include "gnunet_statistics_service.h" |
diff --git a/src/cadet/gnunet-service-cadet_channel.c b/src/cadet/gnunet-service-cadet_channel.c index 78658c296..85028799d 100644 --- a/src/cadet/gnunet-service-cadet_channel.c +++ b/src/cadet/gnunet-service-cadet_channel.c | |||
@@ -34,6 +34,7 @@ | |||
34 | * reserve more bits in 'options' to allow for buffer size control? | 34 | * reserve more bits in 'options' to allow for buffer size control? |
35 | */ | 35 | */ |
36 | #include "platform.h" | 36 | #include "platform.h" |
37 | #include "platform.h" | ||
37 | #include "cadet.h" | 38 | #include "cadet.h" |
38 | #include "gnunet_statistics_service.h" | 39 | #include "gnunet_statistics_service.h" |
39 | #include "gnunet-service-cadet_channel.h" | 40 | #include "gnunet-service-cadet_channel.h" |
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index f01c1388e..05ac8f53c 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.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_signatures.h" | 30 | #include "gnunet_signatures.h" |
30 | #include "gnunet-service-cadet_connection.h" | 31 | #include "gnunet-service-cadet_connection.h" |
31 | #include "gnunet-service-cadet_channel.h" | 32 | #include "gnunet-service-cadet_channel.h" |
diff --git a/src/cadet/gnunet-service-cadet_core.c b/src/cadet/gnunet-service-cadet_core.c index 68f7405c3..54c55c60a 100644 --- a/src/cadet/gnunet-service-cadet_core.c +++ b/src/cadet/gnunet-service-cadet_core.c | |||
@@ -30,6 +30,7 @@ | |||
30 | * - Optimization: given BROKEN messages, destroy paths (?) | 30 | * - Optimization: given BROKEN messages, destroy paths (?) |
31 | */ | 31 | */ |
32 | #include "platform.h" | 32 | #include "platform.h" |
33 | #include "platform.h" | ||
33 | #include "gnunet-service-cadet_core.h" | 34 | #include "gnunet-service-cadet_core.h" |
34 | #include "gnunet-service-cadet_paths.h" | 35 | #include "gnunet-service-cadet_paths.h" |
35 | #include "gnunet-service-cadet_peer.h" | 36 | #include "gnunet-service-cadet_peer.h" |
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c index 82ba326b4..f99d98e55 100644 --- a/src/cadet/gnunet-service-cadet_dht.c +++ b/src/cadet/gnunet-service-cadet_dht.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_dht_service.h" | 30 | #include "gnunet_dht_service.h" |
30 | #include "gnunet_statistics_service.h" | 31 | #include "gnunet_statistics_service.h" |
diff --git a/src/cadet/gnunet-service-cadet_hello.c b/src/cadet/gnunet-service-cadet_hello.c index e1850d60a..e3db7ce85 100644 --- a/src/cadet/gnunet-service-cadet_hello.c +++ b/src/cadet/gnunet-service-cadet_hello.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_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
29 | 30 | ||
30 | #include "gnunet_statistics_service.h" | 31 | #include "gnunet_statistics_service.h" |
diff --git a/src/cadet/gnunet-service-cadet_paths.c b/src/cadet/gnunet-service-cadet_paths.c index 83b996e05..bba7fa621 100644 --- a/src/cadet/gnunet-service-cadet_paths.c +++ b/src/cadet/gnunet-service-cadet_paths.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-cadet_connection.h" | 28 | #include "gnunet-service-cadet_connection.h" |
28 | #include "gnunet-service-cadet_tunnels.h" | 29 | #include "gnunet-service-cadet_tunnels.h" |
29 | #include "gnunet-service-cadet_peer.h" | 30 | #include "gnunet-service-cadet_peer.h" |
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index f2b508ae0..5384e76a1 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -31,6 +31,7 @@ | |||
31 | * to take a break if we have some connections and have searched a lot (?)) | 31 | * to take a break if we have some connections and have searched a lot (?)) |
32 | */ | 32 | */ |
33 | #include "platform.h" | 33 | #include "platform.h" |
34 | #include "platform.h" | ||
34 | #include "gnunet_time_lib.h" | 35 | #include "gnunet_time_lib.h" |
35 | #include "gnunet_util_lib.h" | 36 | #include "gnunet_util_lib.h" |
36 | #include "gnunet_hello_lib.h" | 37 | #include "gnunet_hello_lib.h" |
diff --git a/src/cadet/gnunet-service-cadet_tunnels.c b/src/cadet/gnunet-service-cadet_tunnels.c index c7e422926..d11693c33 100644 --- a/src/cadet/gnunet-service-cadet_tunnels.c +++ b/src/cadet/gnunet-service-cadet_tunnels.c | |||
@@ -31,6 +31,7 @@ | |||
31 | * on how much we like our connections | 31 | * on how much we like our connections |
32 | */ | 32 | */ |
33 | #include "platform.h" | 33 | #include "platform.h" |
34 | #include "platform.h" | ||
34 | #include "gnunet_util_lib.h" | 35 | #include "gnunet_util_lib.h" |
35 | #include "gnunet_statistics_service.h" | 36 | #include "gnunet_statistics_service.h" |
36 | #include "gnunet_signatures.h" | 37 | #include "gnunet_signatures.h" |
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index bdf2ac986..260822ba6 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | * @brief Test for the cadet service using mq API. | 24 | * @brief Test for the cadet service using mq API. |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include <stdio.h> | 27 | #include <stdio.h> |
27 | #include "platform.h" | 28 | #include "platform.h" |
28 | #include "cadet.h" | 29 | #include "cadet.h" |
diff --git a/src/cadet/test_cadet_flow.c b/src/cadet/test_cadet_flow.c index 9f5a45986..36f64c5c0 100644 --- a/src/cadet/test_cadet_flow.c +++ b/src/cadet/test_cadet_flow.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | * @brief Test for flow control of CADET service | 24 | * @brief Test for flow control of CADET service |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include <stdio.h> | 27 | #include <stdio.h> |
27 | #include "platform.h" | 28 | #include "platform.h" |
28 | #include "cadet_test_lib.h" | 29 | #include "cadet_test_lib.h" |
diff --git a/src/cadet/test_cadet_local_mq.c b/src/cadet/test_cadet_local_mq.c index 6f75dfd1f..33ccc0fd8 100644 --- a/src/cadet/test_cadet_local_mq.c +++ b/src/cadet/test_cadet_local_mq.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_dht_service.h" | 30 | #include "gnunet_dht_service.h" |
30 | #include "gnunet_testing_lib.h" | 31 | #include "gnunet_testing_lib.h" |