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/transport | |
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/transport')
86 files changed, 88 insertions, 2 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index 84aa45b9a..401c0e3e9 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * - support other TCP-specific NAT traversal methods (#5531) | 28 | * - support other TCP-specific NAT traversal methods (#5531) |
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_core_service.h" | 33 | #include "gnunet_core_service.h" |
33 | #include "gnunet_peerstore_service.h" | 34 | #include "gnunet_peerstore_service.h" |
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c index 282902f1c..65a2a35f6 100644 --- a/src/transport/gnunet-communicator-udp.c +++ b/src/transport/gnunet-communicator-udp.c | |||
@@ -38,6 +38,7 @@ | |||
38 | * - support other UDP-specific NAT traversal methods (#) | 38 | * - support other UDP-specific NAT traversal methods (#) |
39 | */ | 39 | */ |
40 | #include "platform.h" | 40 | #include "platform.h" |
41 | #include "platform.h" | ||
41 | #include "gnunet_util_lib.h" | 42 | #include "gnunet_util_lib.h" |
42 | #include "gnunet_protocols.h" | 43 | #include "gnunet_protocols.h" |
43 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c index d7e18f87a..f898e116b 100644 --- a/src/transport/gnunet-communicator-unix.c +++ b/src/transport/gnunet-communicator-unix.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * @author Nathan Evans | 27 | * @author Nathan Evans |
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 | #include "gnunet_protocols.h" | 32 | #include "gnunet_protocols.h" |
32 | #include "gnunet_constants.h" | 33 | #include "gnunet_constants.h" |
diff --git a/src/transport/gnunet-helper-transport-bluetooth.c b/src/transport/gnunet-helper-transport-bluetooth.c index 2fc61cd91..3c9f30589 100644 --- a/src/transport/gnunet-helper-transport-bluetooth.c +++ b/src/transport/gnunet-helper-transport-bluetooth.c | |||
@@ -19,8 +19,9 @@ | |||
19 | 19 | ||
20 | SPDX-License-Identifier: AGPL3.0-or-later | 20 | SPDX-License-Identifier: AGPL3.0-or-later |
21 | */ | 21 | */ |
22 | #include "platform.h" | ||
22 | #include "gnunet_private_config.h" | 23 | #include "gnunet_private_config.h" |
23 | #include "gnunet_platform.h" | 24 | #include "platform.h" |
24 | 25 | ||
25 | #include <bluetooth/bluetooth.h> | 26 | #include <bluetooth/bluetooth.h> |
26 | #include <bluetooth/hci.h> | 27 | #include <bluetooth/hci.h> |
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c b/src/transport/gnunet-helper-transport-wlan-dummy.c index ab77f5c68..698da9a0f 100644 --- a/src/transport/gnunet-helper-transport-wlan-dummy.c +++ b/src/transport/gnunet-helper-transport-wlan-dummy.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author David Brodski | 23 | * @author David Brodski |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_protocols.h" | 27 | #include "gnunet_protocols.h" |
27 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
28 | #include "plugin_transport_wlan.h" | 29 | #include "plugin_transport_wlan.h" |
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index e2b133c06..f50e20b76 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c | |||
@@ -109,8 +109,9 @@ | |||
109 | /* | 109 | /* |
110 | * parts taken from aircrack-ng, parts changend. | 110 | * parts taken from aircrack-ng, parts changend. |
111 | */ | 111 | */ |
112 | #include "platform.h" | ||
112 | #include "gnunet_private_config.h" | 113 | #include "gnunet_private_config.h" |
113 | #include "gnunet_platform.h" | 114 | #include "platform.h" |
114 | #include <netpacket/packet.h> | 115 | #include <netpacket/packet.h> |
115 | #include <linux/if_ether.h> | 116 | #include <linux/if_ether.h> |
116 | #include <linux/wireless.h> | 117 | #include <linux/wireless.h> |
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c index dc470ca0e..fd7b6d244 100644 --- a/src/transport/gnunet-service-tng.c +++ b/src/transport/gnunet-service-tng.c | |||
@@ -73,6 +73,7 @@ | |||
73 | * reduce CPU and memory use) [CPU, MEMORY] | 73 | * reduce CPU and memory use) [CPU, MEMORY] |
74 | */ | 74 | */ |
75 | #include "platform.h" | 75 | #include "platform.h" |
76 | #include "platform.h" | ||
76 | #include "gnunet_util_lib.h" | 77 | #include "gnunet_util_lib.h" |
77 | #include "gnunet_statistics_service.h" | 78 | #include "gnunet_statistics_service.h" |
78 | #include "gnunet_transport_monitor_service.h" | 79 | #include "gnunet_transport_monitor_service.h" |
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 93790e293..ab6f73751 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.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_hello_lib.h" | 28 | #include "gnunet_hello_lib.h" |
28 | #include "gnunet_statistics_service.h" | 29 | #include "gnunet_statistics_service.h" |
diff --git a/src/transport/gnunet-service-transport_ats.c b/src/transport/gnunet-service-transport_ats.c index 2438a0a48..1bede0909 100644 --- a/src/transport/gnunet-service-transport_ats.c +++ b/src/transport/gnunet-service-transport_ats.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-service-transport.h" | 27 | #include "gnunet-service-transport.h" |
27 | #include "gnunet-service-transport_ats.h" | 28 | #include "gnunet-service-transport_ats.h" |
28 | #include "gnunet-service-transport_manipulation.h" | 29 | #include "gnunet-service-transport_manipulation.h" |
diff --git a/src/transport/gnunet-service-transport_hello.c b/src/transport/gnunet-service-transport_hello.c index 1e5e8a225..7c8e80eba 100644 --- a/src/transport/gnunet-service-transport_hello.c +++ b/src/transport/gnunet-service-transport_hello.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_constants.h" | 28 | #include "gnunet_constants.h" |
28 | #include "gnunet_hello_lib.h" | 29 | #include "gnunet_hello_lib.h" |
29 | #include "gnunet_peerinfo_service.h" | 30 | #include "gnunet_peerinfo_service.h" |
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c index 9f39b2dca..0e6e3ff5c 100644 --- a/src/transport/gnunet-service-transport_manipulation.c +++ b/src/transport/gnunet-service-transport_manipulation.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Matthias Wachs | 25 | * @author Matthias Wachs |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "gnunet-service-transport_hello.h" | 29 | #include "gnunet-service-transport_hello.h" |
29 | #include "gnunet-service-transport_neighbours.h" | 30 | #include "gnunet-service-transport_neighbours.h" |
30 | #include "gnunet-service-transport_plugins.h" | 31 | #include "gnunet-service-transport_plugins.h" |
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index e61441d9f..0cdb433fb 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.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_ats_service.h" | 28 | #include "gnunet_ats_service.h" |
28 | #include "gnunet-service-transport_ats.h" | 29 | #include "gnunet-service-transport_ats.h" |
29 | #include "gnunet-service-transport_neighbours.h" | 30 | #include "gnunet-service-transport_neighbours.h" |
diff --git a/src/transport/gnunet-service-transport_plugins.c b/src/transport/gnunet-service-transport_plugins.c index 218ef80ab..54bed5f63 100644 --- a/src/transport/gnunet-service-transport_plugins.c +++ b/src/transport/gnunet-service-transport_plugins.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-transport.h" | 28 | #include "gnunet-service-transport.h" |
28 | #include "gnunet-service-transport_hello.h" | 29 | #include "gnunet-service-transport_hello.h" |
29 | #include "gnunet-service-transport_ats.h" | 30 | #include "gnunet-service-transport_ats.h" |
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index 86161bd85..2a3cb53a8 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.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-transport_ats.h" | 28 | #include "gnunet-service-transport_ats.h" |
28 | #include "gnunet-service-transport_hello.h" | 29 | #include "gnunet-service-transport_hello.h" |
29 | #include "gnunet-service-transport_neighbours.h" | 30 | #include "gnunet-service-transport_neighbours.h" |
diff --git a/src/transport/gnunet-transport-profiler.c b/src/transport/gnunet-transport-profiler.c index 6e5204e28..db519eee7 100644 --- a/src/transport/gnunet-transport-profiler.c +++ b/src/transport/gnunet-transport-profiler.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * GNUnet. | 28 | * GNUnet. |
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_protocols.h" | 33 | #include "gnunet_protocols.h" |
33 | #include "gnunet_ats_service.h" | 34 | #include "gnunet_ats_service.h" |
diff --git a/src/transport/gnunet-transport-wlan-receiver.c b/src/transport/gnunet-transport-wlan-receiver.c index 7f34a957f..ea4530ac4 100644 --- a/src/transport/gnunet-transport-wlan-receiver.c +++ b/src/transport/gnunet-transport-wlan-receiver.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author David Brodski | 24 | * @author David Brodski |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_protocols.h" | 28 | #include "gnunet_protocols.h" |
28 | #include "plugin_transport_wlan.h" | 29 | #include "plugin_transport_wlan.h" |
29 | 30 | ||
diff --git a/src/transport/gnunet-transport-wlan-sender.c b/src/transport/gnunet-transport-wlan-sender.c index 5256ec7be..374215d9c 100644 --- a/src/transport/gnunet-transport-wlan-sender.c +++ b/src/transport/gnunet-transport-wlan-sender.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author David Brodski | 24 | * @author David Brodski |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "plugin_transport_wlan.h" | 28 | #include "plugin_transport_wlan.h" |
28 | #include "gnunet_protocols.h" | 29 | #include "gnunet_protocols.h" |
29 | 30 | ||
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index b5ad43770..03a836f3e 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Nathan Evans | 25 | * @author Nathan Evans |
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_resolver_service.h" | 30 | #include "gnunet_resolver_service.h" |
30 | #include "gnunet_protocols.h" | 31 | #include "gnunet_protocols.h" |
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 82468992b..91099b570 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -50,6 +50,7 @@ | |||
50 | #define ENABLE_GET GNUNET_YES | 50 | #define ENABLE_GET GNUNET_YES |
51 | 51 | ||
52 | #include "platform.h" | 52 | #include "platform.h" |
53 | #include "platform.h" | ||
53 | #include "gnunet_util_lib.h" | 54 | #include "gnunet_util_lib.h" |
54 | #include "gnunet_protocols.h" | 55 | #include "gnunet_protocols.h" |
55 | #include "gnunet_transport_plugin.h" | 56 | #include "gnunet_transport_plugin.h" |
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c index 40353daeb..a2eb9ac19 100644 --- a/src/transport/plugin_transport_http_common.c +++ b/src/transport/plugin_transport_http_common.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
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_transport_plugin.h" | 29 | #include "gnunet_transport_plugin.h" |
29 | #include "plugin_transport_http_common.h" | 30 | #include "plugin_transport_http_common.h" |
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 3ad2356b0..f82a800f4 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.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_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_statistics_service.h" | 31 | #include "gnunet_statistics_service.h" |
31 | #include "gnunet_transport_plugin.h" | 32 | #include "gnunet_transport_plugin.h" |
diff --git a/src/transport/plugin_transport_smtp.c b/src/transport/plugin_transport_smtp.c index f3db4fc5a..42c0105ea 100644 --- a/src/transport/plugin_transport_smtp.c +++ b/src/transport/plugin_transport_smtp.c | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_util.h" | 30 | #include "gnunet_util.h" |
30 | #include "gnunet_constants.h" | 31 | #include "gnunet_constants.h" |
31 | #include "gnunet_protocols.h" | 32 | #include "gnunet_protocols.h" |
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index ceae64709..4010b9d25 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.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_hello_lib.h" | 27 | #include "gnunet_hello_lib.h" |
27 | #include "gnunet_constants.h" | 28 | #include "gnunet_constants.h" |
28 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index c39c72178..e5d8a5ca1 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.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_protocols.h" | 30 | #include "gnunet_protocols.h" |
30 | #include "gnunet_statistics_service.h" | 31 | #include "gnunet_statistics_service.h" |
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 0d3ca449d..60aecac68 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * @author Matthias Wachs | 26 | * @author Matthias Wachs |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "plugin_transport_udp.h" | 30 | #include "plugin_transport_udp.h" |
30 | #include "gnunet_hello_lib.h" | 31 | #include "gnunet_hello_lib.h" |
31 | #include "gnunet_util_lib.h" | 32 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c index a65f5bd2f..483324d28 100644 --- a/src/transport/plugin_transport_udp_broadcasting.c +++ b/src/transport/plugin_transport_udp_broadcasting.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Matthias Wachs | 25 | * @author Matthias Wachs |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "platform.h" | ||
28 | #include "plugin_transport_udp.h" | 29 | #include "plugin_transport_udp.h" |
29 | #include "gnunet_hello_lib.h" | 30 | #include "gnunet_hello_lib.h" |
30 | #include "gnunet_util_lib.h" | 31 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 269949a99..2290971e3 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * @author Nathan Evans | 27 | * @author Nathan Evans |
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 | #include "gnunet_hello_lib.h" | 32 | #include "gnunet_hello_lib.h" |
32 | #include "gnunet_protocols.h" | 33 | #include "gnunet_protocols.h" |
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 138fb5080..0f8513571 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * variant of this code is compiled. | 28 | * variant of this code is compiled. |
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_hello_lib.h" | 33 | #include "gnunet_hello_lib.h" |
33 | #include "gnunet_protocols.h" | 34 | #include "gnunet_protocols.h" |
diff --git a/src/transport/tcp_connection_legacy.c b/src/transport/tcp_connection_legacy.c index 551e79055..755037204 100644 --- a/src/transport/tcp_connection_legacy.c +++ b/src/transport/tcp_connection_legacy.c | |||
@@ -31,6 +31,7 @@ | |||
31 | * module they are VERY, VERY important. | 31 | * module they are VERY, VERY important. |
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_resolver_service.h" | 36 | #include "gnunet_resolver_service.h" |
36 | 37 | ||
diff --git a/src/transport/tcp_server_legacy.c b/src/transport/tcp_server_legacy.c index bb572c843..6b4ff1c25 100644 --- a/src/transport/tcp_server_legacy.c +++ b/src/transport/tcp_server_legacy.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_protocols.h" | 30 | #include "gnunet_protocols.h" |
30 | 31 | ||
diff --git a/src/transport/tcp_server_mst_legacy.c b/src/transport/tcp_server_mst_legacy.c index bed6874c9..32d101b9b 100644 --- a/src/transport/tcp_server_mst_legacy.c +++ b/src/transport/tcp_server_mst_legacy.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 | 30 | ||
30 | 31 | ||
diff --git a/src/transport/tcp_service_legacy.c b/src/transport/tcp_service_legacy.c index 65b090187..7472093eb 100644 --- a/src/transport/tcp_service_legacy.c +++ b/src/transport/tcp_service_legacy.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_protocols.h" | 29 | #include "gnunet_protocols.h" |
29 | #include "gnunet_constants.h" | 30 | #include "gnunet_constants.h" |
diff --git a/src/transport/test_communicator_basic.c b/src/transport/test_communicator_basic.c index f43cdaaf3..668864dbc 100644 --- a/src/transport/test_communicator_basic.c +++ b/src/transport/test_communicator_basic.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Martin Schanzenbach | 25 | * @author Martin Schanzenbach |
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 "transport-testing-communicator.h" | 30 | #include "transport-testing-communicator.h" |
30 | #include "gnunet_ats_transport_service.h" | 31 | #include "gnunet_ats_transport_service.h" |
diff --git a/src/transport/test_http_common.c b/src/transport/test_http_common.c index fe6e4faa3..f8d17636c 100644 --- a/src/transport/test_http_common.c +++ b/src/transport/test_http_common.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief base test case for common http functionality | 22 | * @brief base test case for common http functionality |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
25 | #include "gnunet_transport_service.h" | 26 | #include "gnunet_transport_service.h" |
26 | #include "transport-testing.h" | 27 | #include "transport-testing.h" |
27 | #include "plugin_transport_http_common.h" | 28 | #include "plugin_transport_http_common.h" |
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 04687d845..358bee25d 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.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_hello_lib.h" | 30 | #include "gnunet_hello_lib.h" |
30 | #include "gnunet_peerinfo_service.h" | 31 | #include "gnunet_peerinfo_service.h" |
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index c3c46db37..f6de5f56c 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * This test case tests quota compliance both on transport level | 24 | * This test case tests quota compliance both on transport level |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_transport_service.h" | 28 | #include "gnunet_transport_service.h" |
28 | #include "gnunet_ats_service.h" | 29 | #include "gnunet_ats_service.h" |
29 | #include "gauger.h" | 30 | #include "gauger.h" |
diff --git a/src/transport/test_transport_address_switch.c b/src/transport/test_transport_address_switch.c index ce5117bd1..c55f46e4e 100644 --- a/src/transport/test_transport_address_switch.c +++ b/src/transport/test_transport_address_switch.c | |||
@@ -43,6 +43,7 @@ | |||
43 | * out and returns "77" (skipped), so we set the timeout suitably low. | 43 | * out and returns "77" (skipped), so we set the timeout suitably low. |
44 | */ | 44 | */ |
45 | #include "platform.h" | 45 | #include "platform.h" |
46 | #include "platform.h" | ||
46 | #include "gnunet_transport_service.h" | 47 | #include "gnunet_transport_service.h" |
47 | #include "gnunet_ats_service.h" | 48 | #include "gnunet_ats_service.h" |
48 | #include "transport-testing.h" | 49 | #include "transport-testing.h" |
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 5f5e03a9e..9de8d0b4c 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * C code apparently. | 28 | * C code apparently. |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_transport_service.h" | 32 | #include "gnunet_transport_service.h" |
32 | #include "transport-testing.h" | 33 | #include "transport-testing.h" |
33 | 34 | ||
diff --git a/src/transport/test_transport_api2.c b/src/transport/test_transport_api2.c index e1606e0be..9d750f9f4 100644 --- a/src/transport/test_transport_api2.c +++ b/src/transport/test_transport_api2.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * C code apparently. | 28 | * C code apparently. |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | //#include "gnunet_transport_service.h" | 32 | //#include "gnunet_transport_service.h" |
32 | #include "transport-testing2.h" | 33 | #include "transport-testing2.h" |
33 | 34 | ||
diff --git a/src/transport/test_transport_api_blacklisting.c b/src/transport/test_transport_api_blacklisting.c index 2ba88a863..a082152ea 100644 --- a/src/transport/test_transport_api_blacklisting.c +++ b/src/transport/test_transport_api_blacklisting.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_transport_service.h" | 29 | #include "gnunet_transport_service.h" |
29 | #include "transport-testing.h" | 30 | #include "transport-testing.h" |
30 | 31 | ||
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c index c469f28bc..3d3ab3a67 100644 --- a/src/transport/test_transport_api_disconnect.c +++ b/src/transport/test_transport_api_disconnect.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * stops one peer, expects the others to send a disconnect notification. | 26 | * stops one peer, expects the others to send a disconnect notification. |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_transport_service.h" | 30 | #include "gnunet_transport_service.h" |
30 | #include "transport-testing.h" | 31 | #include "transport-testing.h" |
31 | 32 | ||
diff --git a/src/transport/test_transport_api_limited_sockets.c b/src/transport/test_transport_api_limited_sockets.c index 0e47800e8..b5e24db5e 100644 --- a/src/transport/test_transport_api_limited_sockets.c +++ b/src/transport/test_transport_api_limited_sockets.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * C code apparently. | 27 | * C code apparently. |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_transport_service.h" | 31 | #include "gnunet_transport_service.h" |
31 | #include "transport-testing.h" | 32 | #include "transport-testing.h" |
32 | 33 | ||
diff --git a/src/transport/test_transport_api_manipulation_cfg.c b/src/transport/test_transport_api_manipulation_cfg.c index 73c81114e..433da4d2f 100644 --- a/src/transport/test_transport_api_manipulation_cfg.c +++ b/src/transport/test_transport_api_manipulation_cfg.c | |||
@@ -29,6 +29,7 @@ | |||
29 | * Then we send response from P2 to P1 and expect delay of >= TEST_DELAY us | 29 | * Then we send response from P2 to P1 and expect delay of >= TEST_DELAY us |
30 | */ | 30 | */ |
31 | #include "platform.h" | 31 | #include "platform.h" |
32 | #include "platform.h" | ||
32 | #include "gnunet_transport_service.h" | 33 | #include "gnunet_transport_service.h" |
33 | #include "transport-testing.h" | 34 | #include "transport-testing.h" |
34 | 35 | ||
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp.c b/src/transport/test_transport_api_manipulation_recv_tcp.c index 207c4416f..e4efd06bd 100644 --- a/src/transport/test_transport_api_manipulation_recv_tcp.c +++ b/src/transport/test_transport_api_manipulation_recv_tcp.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * In addition the distance on receiver side will be manipulated to be 10 | 28 | * In addition the distance on receiver side will be manipulated to be 10 |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_transport_service.h" | 32 | #include "gnunet_transport_service.h" |
32 | #include "transport-testing.h" | 33 | #include "transport-testing.h" |
33 | 34 | ||
diff --git a/src/transport/test_transport_api_manipulation_send_tcp.c b/src/transport/test_transport_api_manipulation_send_tcp.c index ea735cfc6..b89540af6 100644 --- a/src/transport/test_transport_api_manipulation_send_tcp.c +++ b/src/transport/test_transport_api_manipulation_send_tcp.c | |||
@@ -28,6 +28,7 @@ | |||
28 | * In addition the distance on receiver side will be manipulated to be 10 | 28 | * In addition the distance on receiver side will be manipulated to be 10 |
29 | */ | 29 | */ |
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_transport_service.h" | 32 | #include "gnunet_transport_service.h" |
32 | #include "transport-testing.h" | 33 | #include "transport-testing.h" |
33 | 34 | ||
diff --git a/src/transport/test_transport_api_monitor_peers.c b/src/transport/test_transport_api_monitor_peers.c index c09e3782d..a2c5ee5cb 100644 --- a/src/transport/test_transport_api_monitor_peers.c +++ b/src/transport/test_transport_api_monitor_peers.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief base test case for transport peer monitor API | 22 | * @brief base test case for transport peer monitor API |
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "platform.h" | ||
25 | #include "gnunet_transport_service.h" | 26 | #include "gnunet_transport_service.h" |
26 | #include "transport-testing.h" | 27 | #include "transport-testing.h" |
27 | 28 | ||
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 508fed4f5..e9f78f73e 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -27,6 +27,7 @@ | |||
27 | * and ensures that all message were received. | 27 | * and ensures that all message were received. |
28 | */ | 28 | */ |
29 | #include "platform.h" | 29 | #include "platform.h" |
30 | #include "platform.h" | ||
30 | #include "gnunet_transport_service.h" | 31 | #include "gnunet_transport_service.h" |
31 | #include "gauger.h" | 32 | #include "gauger.h" |
32 | #include "transport-testing.h" | 33 | #include "transport-testing.h" |
diff --git a/src/transport/test_transport_api_restart_reconnect.c b/src/transport/test_transport_api_restart_reconnect.c index d58c1de54..f432690a4 100644 --- a/src/transport/test_transport_api_restart_reconnect.c +++ b/src/transport/test_transport_api_restart_reconnect.c | |||
@@ -26,6 +26,7 @@ | |||
26 | * How many peers are restarted is determined by the name of the binary. | 26 | * How many peers are restarted is determined by the name of the binary. |
27 | */ | 27 | */ |
28 | #include "platform.h" | 28 | #include "platform.h" |
29 | #include "platform.h" | ||
29 | #include "gnunet_transport_service.h" | 30 | #include "gnunet_transport_service.h" |
30 | #include "transport-testing.h" | 31 | #include "transport-testing.h" |
31 | 32 | ||
diff --git a/src/transport/test_transport_api_timeout.c b/src/transport/test_transport_api_timeout.c index 9f8d3bb2b..ae32dcf9f 100644 --- a/src/transport/test_transport_api_timeout.c +++ b/src/transport/test_transport_api_timeout.c | |||
@@ -28,6 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include "platform.h" |
31 | #include "platform.h" | ||
31 | #include "gnunet_transport_service.h" | 32 | #include "gnunet_transport_service.h" |
32 | #include "transport-testing.h" | 33 | #include "transport-testing.h" |
33 | 34 | ||
diff --git a/src/transport/test_transport_blacklisting.c b/src/transport/test_transport_blacklisting.c index 204935dcb..bf2650697 100644 --- a/src/transport/test_transport_blacklisting.c +++ b/src/transport/test_transport_blacklisting.c | |||
@@ -49,6 +49,7 @@ | |||
49 | * | 49 | * |
50 | */ | 50 | */ |
51 | #include "platform.h" | 51 | #include "platform.h" |
52 | #include "platform.h" | ||
52 | #include "gnunet_transport_service.h" | 53 | #include "gnunet_transport_service.h" |
53 | #include "transport-testing.h" | 54 | #include "transport-testing.h" |
54 | 55 | ||
diff --git a/src/transport/test_transport_plugin_cmd_simple_send.c b/src/transport/test_transport_plugin_cmd_simple_send.c index 5941a991b..751469b3a 100644 --- a/src/transport/test_transport_plugin_cmd_simple_send.c +++ b/src/transport/test_transport_plugin_cmd_simple_send.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/test_transport_plugin_cmd_simple_send_broadcast.c b/src/transport/test_transport_plugin_cmd_simple_send_broadcast.c index 3a282bb11..e07ade9d7 100644 --- a/src/transport/test_transport_plugin_cmd_simple_send_broadcast.c +++ b/src/transport/test_transport_plugin_cmd_simple_send_broadcast.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/test_transport_plugin_cmd_simple_send_dv.c b/src/transport/test_transport_plugin_cmd_simple_send_dv.c index 8bfa1fd0a..afed9d6a8 100644 --- a/src/transport/test_transport_plugin_cmd_simple_send_dv.c +++ b/src/transport/test_transport_plugin_cmd_simple_send_dv.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/test_transport_plugin_cmd_udp_backchannel.c b/src/transport/test_transport_plugin_cmd_udp_backchannel.c index 5a0dac32b..df1321404 100644 --- a/src/transport/test_transport_plugin_cmd_udp_backchannel.c +++ b/src/transport/test_transport_plugin_cmd_udp_backchannel.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
diff --git a/src/transport/test_transport_start_with_config.c b/src/transport/test_transport_start_with_config.c index 0c3271436..06a0b0aae 100644 --- a/src/transport/test_transport_start_with_config.c +++ b/src/transport/test_transport_start_with_config.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "transport-testing-cmds.h" | 30 | #include "transport-testing-cmds.h" |
diff --git a/src/transport/test_transport_testing_restart.c b/src/transport/test_transport_testing_restart.c index f537af5fc..5be3836b0 100644 --- a/src/transport/test_transport_testing_restart.c +++ b/src/transport/test_transport_testing_restart.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * start the peer, get the HELLO message, restart and stop the peer | 23 | * start the peer, get the HELLO message, restart and stop the peer |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_transport_service.h" | 27 | #include "gnunet_transport_service.h" |
27 | #include "transport-testing.h" | 28 | #include "transport-testing.h" |
28 | 29 | ||
diff --git a/src/transport/test_transport_testing_startstop.c b/src/transport/test_transport_testing_startstop.c index 4783c1813..cc2104672 100644 --- a/src/transport/test_transport_testing_startstop.c +++ b/src/transport/test_transport_testing_startstop.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * start the peer, get the HELLO message and stop the peer | 23 | * start the peer, get the HELLO message and stop the peer |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #include "platform.h" | ||
26 | #include "gnunet_transport_service.h" | 27 | #include "gnunet_transport_service.h" |
27 | #include "transport-testing.h" | 28 | #include "transport-testing.h" |
28 | 29 | ||
diff --git a/src/transport/transport-testing-communicator.c b/src/transport/transport-testing-communicator.c index 1bf88bb3d..708bb9d75 100644 --- a/src/transport/transport-testing-communicator.c +++ b/src/transport/transport-testing-communicator.c | |||
@@ -25,6 +25,7 @@ | |||
25 | * @author Julius Bünger | 25 | * @author Julius Bünger |
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_protocols.h" | 30 | #include "gnunet_protocols.h" |
30 | #include "gnunet_constants.h" | 31 | #include "gnunet_constants.h" |
diff --git a/src/transport/transport-testing-filenames.c b/src/transport/transport-testing-filenames.c index 70c1ee55a..ee7b0aacf 100644 --- a/src/transport/transport-testing-filenames.c +++ b/src/transport/transport-testing-filenames.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include "transport-testing.h" | 27 | #include "transport-testing.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/transport/transport-testing-filenames2.c b/src/transport/transport-testing-filenames2.c index 7d6fd529d..59fa1ebd5 100644 --- a/src/transport/transport-testing-filenames2.c +++ b/src/transport/transport-testing-filenames2.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include "transport-testing2.h" | 27 | #include "transport-testing2.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/transport/transport-testing-loggers.c b/src/transport/transport-testing-loggers.c index 330a392c6..21ed0592a 100644 --- a/src/transport/transport-testing-loggers.c +++ b/src/transport/transport-testing-loggers.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience functions for logging common events in tests | 22 | * @brief convenience functions for logging common events in tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing.h" | 26 | #include "transport-testing.h" |
26 | 27 | ||
27 | 28 | ||
diff --git a/src/transport/transport-testing-loggers2.c b/src/transport/transport-testing-loggers2.c index ead4fa365..e6c79b78a 100644 --- a/src/transport/transport-testing-loggers2.c +++ b/src/transport/transport-testing-loggers2.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience functions for logging common events in tests | 22 | * @brief convenience functions for logging common events in tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing2.h" | 26 | #include "transport-testing2.h" |
26 | 27 | ||
27 | 28 | ||
diff --git a/src/transport/transport-testing-main.c b/src/transport/transport-testing-main.c index 8d1727d77..63b91713c 100644 --- a/src/transport/transport-testing-main.c +++ b/src/transport/transport-testing-main.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience main function for tests | 22 | * @brief convenience main function for tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing.h" | 26 | #include "transport-testing.h" |
26 | 27 | ||
27 | 28 | ||
diff --git a/src/transport/transport-testing-main2.c b/src/transport/transport-testing-main2.c index de0b7f4cd..0a1710922 100644 --- a/src/transport/transport-testing-main2.c +++ b/src/transport/transport-testing-main2.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience main function for tests | 22 | * @brief convenience main function for tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing2.h" | 26 | #include "transport-testing2.h" |
26 | 27 | ||
27 | 28 | ||
diff --git a/src/transport/transport-testing-send.c b/src/transport/transport-testing-send.c index 38018c172..9b017c563 100644 --- a/src/transport/transport-testing-send.c +++ b/src/transport/transport-testing-send.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience transmission function for tests | 22 | * @brief convenience transmission function for tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing.h" | 26 | #include "transport-testing.h" |
26 | 27 | ||
27 | /** | 28 | /** |
diff --git a/src/transport/transport-testing-send2.c b/src/transport/transport-testing-send2.c index bd2afb9b0..c48dc3a4a 100644 --- a/src/transport/transport-testing-send2.c +++ b/src/transport/transport-testing-send2.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * @brief convenience transmission function for tests | 22 | * @brief convenience transmission function for tests |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | ||
25 | #include "transport-testing2.h" | 26 | #include "transport-testing2.h" |
26 | 27 | ||
27 | /** | 28 | /** |
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 00c4a08dd..baced62e3 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include "transport-testing.h" | 27 | #include "transport-testing.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index f0dee7388..566e0db71 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | ||
26 | #include "transport-testing2.h" | 27 | #include "transport-testing2.h" |
27 | 28 | ||
28 | 29 | ||
diff --git a/src/transport/transport_api2_application.c b/src/transport/transport_api2_application.c index 00f5f62eb..915cc6aef 100644 --- a/src/transport/transport_api2_application.c +++ b/src/transport/transport_api2_application.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_transport_application_service.h" | 28 | #include "gnunet_transport_application_service.h" |
28 | #include "gnunet_transport_core_service.h" | 29 | #include "gnunet_transport_core_service.h" |
29 | #include "transport.h" | 30 | #include "transport.h" |
diff --git a/src/transport/transport_api2_communication.c b/src/transport/transport_api2_communication.c index b79f0d8bf..8aabab8b4 100644 --- a/src/transport/transport_api2_communication.c +++ b/src/transport/transport_api2_communication.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_protocols.h" | 29 | #include "gnunet_protocols.h" |
29 | #include "gnunet_transport_communication_service.h" | 30 | #include "gnunet_transport_communication_service.h" |
diff --git a/src/transport/transport_api2_core.c b/src/transport/transport_api2_core.c index 8cd0b7c8c..693babb91 100644 --- a/src/transport/transport_api2_core.c +++ b/src/transport/transport_api2_core.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_arm_service.h" | 30 | #include "gnunet_arm_service.h" |
diff --git a/src/transport/transport_api2_monitor.c b/src/transport/transport_api2_monitor.c index 67aa1985e..07519fe62 100644 --- a/src/transport/transport_api2_monitor.c +++ b/src/transport/transport_api2_monitor.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_protocols.h" | 29 | #include "gnunet_protocols.h" |
29 | #include "gnunet_transport_monitor_service.h" | 30 | #include "gnunet_transport_monitor_service.h" |
diff --git a/src/transport/transport_api_address_to_string.c b/src/transport/transport_api_address_to_string.c index 5b234f802..3bda5a39e 100644 --- a/src/transport/transport_api_address_to_string.c +++ b/src/transport/transport_api_address_to_string.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * @brief enable clients to convert addresses to human readable strings | 23 | * @brief enable clients to convert addresses to human readable strings |
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_arm_service.h" | 28 | #include "gnunet_arm_service.h" |
28 | #include "gnunet_hello_lib.h" | 29 | #include "gnunet_hello_lib.h" |
diff --git a/src/transport/transport_api_blacklist.c b/src/transport/transport_api_blacklist.c index b195a7fc7..ab392c11f 100644 --- a/src/transport/transport_api_blacklist.c +++ b/src/transport/transport_api_blacklist.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_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
29 | #include "gnunet_hello_lib.h" | 30 | #include "gnunet_hello_lib.h" |
diff --git a/src/transport/transport_api_cmd_backchannel_check.c b/src/transport/transport_api_cmd_backchannel_check.c index 0376275a3..39bfb8580 100644 --- a/src/transport/transport_api_cmd_backchannel_check.c +++ b/src/transport/transport_api_cmd_backchannel_check.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_common.h" | 28 | #include "gnunet_common.h" |
28 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_testing_ng_lib.h" | 30 | #include "gnunet_testing_ng_lib.h" |
diff --git a/src/transport/transport_api_cmd_connecting_peers.c b/src/transport/transport_api_cmd_connecting_peers.c index a6006f698..9ac6fb9cc 100644 --- a/src/transport/transport_api_cmd_connecting_peers.c +++ b/src/transport/transport_api_cmd_connecting_peers.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
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_ng_lib.h" | 29 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_testing_netjail_lib.h" | 30 | #include "gnunet_testing_netjail_lib.h" |
diff --git a/src/transport/transport_api_cmd_send_simple.c b/src/transport/transport_api_cmd_send_simple.c index c71c952aa..6edc36f21 100644 --- a/src/transport/transport_api_cmd_send_simple.c +++ b/src/transport/transport_api_cmd_send_simple.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
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_ng_lib.h" | 29 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_testing_netjail_lib.h" | 30 | #include "gnunet_testing_netjail_lib.h" |
diff --git a/src/transport/transport_api_cmd_start_peer.c b/src/transport/transport_api_cmd_start_peer.c index 4add06609..f120401ae 100644 --- a/src/transport/transport_api_cmd_start_peer.c +++ b/src/transport/transport_api_cmd_start_peer.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
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_ng_lib.h" | 29 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_testing_netjail_lib.h" | 30 | #include "gnunet_testing_netjail_lib.h" |
diff --git a/src/transport/transport_api_cmd_stop_peer.c b/src/transport/transport_api_cmd_stop_peer.c index 4ca730add..74b16be84 100644 --- a/src/transport/transport_api_cmd_stop_peer.c +++ b/src/transport/transport_api_cmd_stop_peer.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
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_ng_lib.h" | 29 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_testing_netjail_lib.h" | 30 | #include "gnunet_testing_netjail_lib.h" |
diff --git a/src/transport/transport_api_core.c b/src/transport/transport_api_core.c index 12612de09..d0f364e38 100644 --- a/src/transport/transport_api_core.c +++ b/src/transport/transport_api_core.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_arm_service.h" | 30 | #include "gnunet_arm_service.h" |
diff --git a/src/transport/transport_api_hello_get.c b/src/transport/transport_api_hello_get.c index f8bcc5f07..76643c853 100644 --- a/src/transport/transport_api_hello_get.c +++ b/src/transport/transport_api_hello_get.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_arm_service.h" | 30 | #include "gnunet_arm_service.h" |
diff --git a/src/transport/transport_api_manipulation.c b/src/transport/transport_api_manipulation.c index 4f4ccc4a0..97125c64a 100644 --- a/src/transport/transport_api_manipulation.c +++ b/src/transport/transport_api_manipulation.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_arm_service.h" | 30 | #include "gnunet_arm_service.h" |
diff --git a/src/transport/transport_api_monitor_peers.c b/src/transport/transport_api_monitor_peers.c index ef1dc6087..3ce545eed 100644 --- a/src/transport/transport_api_monitor_peers.c +++ b/src/transport/transport_api_monitor_peers.c | |||
@@ -29,6 +29,7 @@ | |||
29 | * state timeout for peer requests. | 29 | * state timeout for peer requests. |
30 | */ | 30 | */ |
31 | #include "platform.h" | 31 | #include "platform.h" |
32 | #include "platform.h" | ||
32 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
33 | #include "gnunet_arm_service.h" | 34 | #include "gnunet_arm_service.h" |
34 | #include "gnunet_hello_lib.h" | 35 | #include "gnunet_hello_lib.h" |
diff --git a/src/transport/transport_api_monitor_plugins.c b/src/transport/transport_api_monitor_plugins.c index 43a11442b..8a51e62ea 100644 --- a/src/transport/transport_api_monitor_plugins.c +++ b/src/transport/transport_api_monitor_plugins.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_arm_service.h" | 29 | #include "gnunet_arm_service.h" |
29 | #include "gnunet_hello_lib.h" | 30 | #include "gnunet_hello_lib.h" |
diff --git a/src/transport/transport_api_offer_hello.c b/src/transport/transport_api_offer_hello.c index 1b611aa6b..e4f6688f2 100644 --- a/src/transport/transport_api_offer_hello.c +++ b/src/transport/transport_api_offer_hello.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_hello_lib.h" | 29 | #include "gnunet_hello_lib.h" |
29 | #include "gnunet_protocols.h" | 30 | #include "gnunet_protocols.h" |
diff --git a/src/transport/transport_api_traits.c b/src/transport/transport_api_traits.c index 7e66cc3d1..f02b71124 100644 --- a/src/transport/transport_api_traits.c +++ b/src/transport/transport_api_traits.c | |||
@@ -24,6 +24,7 @@ | |||
24 | * @author t3sserakt | 24 | * @author t3sserakt |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "platform.h" | ||
27 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
28 | #include "gnunet_testing_netjail_lib.h" | 29 | #include "gnunet_testing_netjail_lib.h" |
29 | #include "transport-testing-cmds.h" | 30 | #include "transport-testing-cmds.h" |