diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 11:42:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 11:42:42 +0000 |
commit | 7c7b4664ee9841a60971210e50dcc7b015a86879 (patch) | |
tree | accc57559201426ca490bea315f07622e1c7d9b6 /src | |
parent | aac6226facba53fffcbd1e31ece00318d0f53855 (diff) | |
download | gnunet-7c7b4664ee9841a60971210e50dcc7b015a86879.tar.gz gnunet-7c7b4664ee9841a60971210e50dcc7b015a86879.zip |
-fix header inclusion
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.h | 8 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.h | 10 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_peer.h | 8 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.h | 10 |
4 files changed, 20 insertions, 16 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.h b/src/mesh/gnunet-service-mesh_channel.h index 154e92b0d..48f3e897d 100644 --- a/src/mesh/gnunet-service-mesh_channel.h +++ b/src/mesh/gnunet-service-mesh_channel.h | |||
@@ -40,13 +40,15 @@ extern "C" | |||
40 | #include "platform.h" | 40 | #include "platform.h" |
41 | #include "gnunet_util_lib.h" | 41 | #include "gnunet_util_lib.h" |
42 | 42 | ||
43 | #include "gnunet-service-mesh_tunnel.h" | ||
44 | |||
45 | /** | 43 | /** |
46 | * Struct containing all information regarding a channel to a remote client. | 44 | * Struct containing all information regarding a channel to a remote client. |
47 | */ | 45 | */ |
48 | struct MeshChannel; | 46 | struct MeshChannel; |
49 | 47 | ||
48 | |||
49 | #include "gnunet-service-mesh_tunnel.h" | ||
50 | |||
51 | |||
50 | /** | 52 | /** |
51 | * Get channel ID. | 53 | * Get channel ID. |
52 | * | 54 | * |
@@ -241,4 +243,4 @@ GMCH_send_prebuilt_message (const struct GNUNET_MessageHeader *message, | |||
241 | 243 | ||
242 | /* ifndef GNUNET_SERVICE_MESH_CHANNEL_H */ | 244 | /* ifndef GNUNET_SERVICE_MESH_CHANNEL_H */ |
243 | #endif | 245 | #endif |
244 | /* end of gnunet-service-mesh_channel.h */ \ No newline at end of file | 246 | /* end of gnunet-service-mesh_channel.h */ |
diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h index 2552623c3..6b53b17cf 100644 --- a/src/mesh/gnunet-service-mesh_connection.h +++ b/src/mesh/gnunet-service-mesh_connection.h | |||
@@ -39,10 +39,6 @@ extern "C" | |||
39 | 39 | ||
40 | #include "gnunet_util_lib.h" | 40 | #include "gnunet_util_lib.h" |
41 | 41 | ||
42 | #include "mesh_path.h" | ||
43 | #include "gnunet-service-mesh_channel.h" | ||
44 | #include "gnunet-service-mesh_peer.h" | ||
45 | |||
46 | 42 | ||
47 | /** | 43 | /** |
48 | * All the states a connection can be in. | 44 | * All the states a connection can be in. |
@@ -76,6 +72,10 @@ enum MeshConnectionState | |||
76 | */ | 72 | */ |
77 | struct MeshConnection; | 73 | struct MeshConnection; |
78 | 74 | ||
75 | #include "mesh_path.h" | ||
76 | #include "gnunet-service-mesh_channel.h" | ||
77 | #include "gnunet-service-mesh_peer.h" | ||
78 | |||
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
@@ -407,4 +407,4 @@ GMC_send_destroy (struct MeshConnection *c); | |||
407 | 407 | ||
408 | /* ifndef GNUNET_SERVICE_MESH_CONNECTION_H */ | 408 | /* ifndef GNUNET_SERVICE_MESH_CONNECTION_H */ |
409 | #endif | 409 | #endif |
410 | /* end of gnunet-service-mesh_connection.h */ \ No newline at end of file | 410 | /* end of gnunet-service-mesh_connection.h */ |
diff --git a/src/mesh/gnunet-service-mesh_peer.h b/src/mesh/gnunet-service-mesh_peer.h index 6ac3e3801..065da7731 100644 --- a/src/mesh/gnunet-service-mesh_peer.h +++ b/src/mesh/gnunet-service-mesh_peer.h | |||
@@ -40,13 +40,13 @@ extern "C" | |||
40 | #include "platform.h" | 40 | #include "platform.h" |
41 | #include "gnunet_util_lib.h" | 41 | #include "gnunet_util_lib.h" |
42 | 42 | ||
43 | #include "gnunet-service-mesh_connection.h" | ||
44 | |||
45 | /** | 43 | /** |
46 | * Struct containing all information regarding a given peer | 44 | * Struct containing all information regarding a given peer |
47 | */ | 45 | */ |
48 | struct MeshPeer; | 46 | struct MeshPeer; |
49 | 47 | ||
48 | #include "gnunet-service-mesh_connection.h" | ||
49 | |||
50 | 50 | ||
51 | /******************************************************************************/ | 51 | /******************************************************************************/ |
52 | /******************************** API ***********************************/ | 52 | /******************************** API ***********************************/ |
@@ -78,7 +78,7 @@ GMP_shutdown (void); | |||
78 | * @param fwd Is this a message going root->dest? (FWD ACK are NOT FWD!) | 78 | * @param fwd Is this a message going root->dest? (FWD ACK are NOT FWD!) |
79 | */ | 79 | */ |
80 | void | 80 | void |
81 | GMP_queue_add (void *cls, uint16_t type, size_t size, | 81 | GMP_queue_add (void *cls, uint16_t type, size_t size, |
82 | struct MeshConnection *c, | 82 | struct MeshConnection *c, |
83 | struct MeshChannel *ch, | 83 | struct MeshChannel *ch, |
84 | int fwd); | 84 | int fwd); |
@@ -161,4 +161,4 @@ GMP_2s (const struct MeshPeer *peer); | |||
161 | 161 | ||
162 | /* ifndef GNUNET_MESH_SERVICE_PEER_H */ | 162 | /* ifndef GNUNET_MESH_SERVICE_PEER_H */ |
163 | #endif | 163 | #endif |
164 | /* end of gnunet-mesh-service_peer.h */ \ No newline at end of file | 164 | /* end of gnunet-mesh-service_peer.h */ |
diff --git a/src/mesh/gnunet-service-mesh_tunnel.h b/src/mesh/gnunet-service-mesh_tunnel.h index 71fa5780e..49e4ce4b2 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.h +++ b/src/mesh/gnunet-service-mesh_tunnel.h | |||
@@ -40,9 +40,6 @@ extern "C" | |||
40 | #include "platform.h" | 40 | #include "platform.h" |
41 | #include "gnunet_util_lib.h" | 41 | #include "gnunet_util_lib.h" |
42 | 42 | ||
43 | #include "gnunet-service-mesh_channel.h" | ||
44 | #include "gnunet-service-mesh_connection.h" | ||
45 | |||
46 | /** | 43 | /** |
47 | * All the states a tunnel can be in. | 44 | * All the states a tunnel can be in. |
48 | */ | 45 | */ |
@@ -79,6 +76,11 @@ enum MeshTunnelState | |||
79 | */ | 76 | */ |
80 | struct MeshTunnel3; | 77 | struct MeshTunnel3; |
81 | 78 | ||
79 | |||
80 | #include "gnunet-service-mesh_channel.h" | ||
81 | #include "gnunet-service-mesh_connection.h" | ||
82 | |||
83 | |||
82 | /******************************************************************************/ | 84 | /******************************************************************************/ |
83 | /******************************** API ***********************************/ | 85 | /******************************** API ***********************************/ |
84 | /******************************************************************************/ | 86 | /******************************************************************************/ |
@@ -234,4 +236,4 @@ GMT_get_buffer (struct MeshTunnel3 *t, int fwd); | |||
234 | 236 | ||
235 | /* ifndef GNUNET_MESH_SERVICE_TUNNEL_H */ | 237 | /* ifndef GNUNET_MESH_SERVICE_TUNNEL_H */ |
236 | #endif | 238 | #endif |
237 | /* end of gnunet-mesh-service_tunnel.h */ \ No newline at end of file | 239 | /* end of gnunet-mesh-service_tunnel.h */ |