diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.h')
-rw-r--r-- | src/testbed/gnunet-service-testbed_connectionpool.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.h b/src/testbed/gnunet-service-testbed_connectionpool.h index 40c937353..cbab151be 100644 --- a/src/testbed/gnunet-service-testbed_connectionpool.h +++ b/src/testbed/gnunet-service-testbed_connectionpool.h | |||
@@ -36,7 +36,8 @@ struct GST_ConnectionPool_GetHandle; | |||
36 | /** | 36 | /** |
37 | * The type of service | 37 | * The type of service |
38 | */ | 38 | */ |
39 | enum GST_ConnectionPool_Service { | 39 | enum GST_ConnectionPool_Service |
40 | { | ||
40 | /** | 41 | /** |
41 | * Transport service | 42 | * Transport service |
42 | */ | 43 | */ |
@@ -62,14 +63,14 @@ enum GST_ConnectionPool_Service { | |||
62 | * #GST_ConnectionPool_Service | 63 | * #GST_ConnectionPool_Service |
63 | */ | 64 | */ |
64 | void | 65 | void |
65 | GST_connection_pool_init(unsigned int size); | 66 | GST_connection_pool_init (unsigned int size); |
66 | 67 | ||
67 | 68 | ||
68 | /** | 69 | /** |
69 | * Cleanup the connection pool | 70 | * Cleanup the connection pool |
70 | */ | 71 | */ |
71 | void | 72 | void |
72 | GST_connection_pool_destroy(void); | 73 | GST_connection_pool_destroy (void); |
73 | 74 | ||
74 | /** | 75 | /** |
75 | * Functions of this type are called when the needed handle is available for | 76 | * Functions of this type are called when the needed handle is available for |
@@ -141,7 +142,7 @@ typedef void (*GST_connection_pool_peer_connect_notify) ( | |||
141 | * longer being used | 142 | * longer being used |
142 | */ | 143 | */ |
143 | struct GST_ConnectionPool_GetHandle * | 144 | struct GST_ConnectionPool_GetHandle * |
144 | GST_connection_pool_get_handle( | 145 | GST_connection_pool_get_handle ( |
145 | unsigned int peer_id, | 146 | unsigned int peer_id, |
146 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 147 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
147 | enum GST_ConnectionPool_Service service, | 148 | enum GST_ConnectionPool_Service service, |
@@ -165,7 +166,7 @@ GST_connection_pool_get_handle( | |||
165 | * @param gh the handle | 166 | * @param gh the handle |
166 | */ | 167 | */ |
167 | void | 168 | void |
168 | GST_connection_pool_get_handle_done(struct GST_ConnectionPool_GetHandle *gh); | 169 | GST_connection_pool_get_handle_done (struct GST_ConnectionPool_GetHandle *gh); |
169 | 170 | ||
170 | 171 | ||
171 | /* End of gnunet-service-testbed_connectionpool.h */ | 172 | /* End of gnunet-service-testbed_connectionpool.h */ |