summaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed_connectionpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.h')
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.h11
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 */
39enum GST_ConnectionPool_Service { 39enum 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 */
64void 65void
65GST_connection_pool_init(unsigned int size); 66GST_connection_pool_init (unsigned int size);
66 67
67 68
68/** 69/**
69 * Cleanup the connection pool 70 * Cleanup the connection pool
70 */ 71 */
71void 72void
72GST_connection_pool_destroy(void); 73GST_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 */
143struct GST_ConnectionPool_GetHandle * 144struct GST_ConnectionPool_GetHandle *
144GST_connection_pool_get_handle( 145GST_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 */
167void 168void
168GST_connection_pool_get_handle_done(struct GST_ConnectionPool_GetHandle *gh); 169GST_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 */