diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-02 16:39:56 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-02 16:39:56 +0000 |
commit | a4221fb791366837276e7bc17ffddfaf8ec758f8 (patch) | |
tree | 767671368af12d227c2a8ba82a6a20545947c7bb /src/mesh/gnunet-service-mesh_connection.h | |
parent | 35cdff9fa295cae1566c5c73a388abc4966cde19 (diff) | |
download | gnunet-a4221fb791366837276e7bc17ffddfaf8ec758f8.tar.gz gnunet-a4221fb791366837276e7bc17ffddfaf8ec758f8.zip |
- more refactoring
Diffstat (limited to 'src/mesh/gnunet-service-mesh_connection.h')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h index a1715e3cd..5db12f2fb 100644 --- a/src/mesh/gnunet-service-mesh_connection.h +++ b/src/mesh/gnunet-service-mesh_connection.h | |||
@@ -39,7 +39,9 @@ extern "C" | |||
39 | 39 | ||
40 | #include "gnunet_util_lib.h" | 40 | #include "gnunet_util_lib.h" |
41 | 41 | ||
42 | 42 | /** | |
43 | * Struct containing all information regarding a connection to a peer. | ||
44 | */ | ||
43 | struct MeshConnection; | 45 | struct MeshConnection; |
44 | 46 | ||
45 | /** | 47 | /** |
@@ -48,7 +50,13 @@ struct MeshConnection; | |||
48 | * @param c Configuration handle. | 50 | * @param c Configuration handle. |
49 | */ | 51 | */ |
50 | void | 52 | void |
51 | GMC_init (struct GNUNET_CONFIGURATION_Handle *c); | 53 | GMC_init (const struct GNUNET_CONFIGURATION_Handle *c); |
54 | |||
55 | /** | ||
56 | * Shut down the connections subsystem. | ||
57 | */ | ||
58 | void | ||
59 | GMC_shutdown (void); | ||
52 | 60 | ||
53 | /** | 61 | /** |
54 | * Create a connection. | 62 | * Create a connection. |
@@ -185,6 +193,7 @@ int | |||
185 | GMC_is_terminal (struct MeshConnection *c, int fwd); | 193 | GMC_is_terminal (struct MeshConnection *c, int fwd); |
186 | 194 | ||
187 | 195 | ||
196 | |||
188 | #if 0 /* keep Emacsens' auto-indent happy */ | 197 | #if 0 /* keep Emacsens' auto-indent happy */ |
189 | { | 198 | { |
190 | #endif | 199 | #endif |