diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.h')
-rw-r--r-- | src/testbed/gnunet-service-testbed_connectionpool.h | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.h b/src/testbed/gnunet-service-testbed_connectionpool.h index 558918c30..40c937353 100644 --- a/src/testbed/gnunet-service-testbed_connectionpool.h +++ b/src/testbed/gnunet-service-testbed_connectionpool.h | |||
@@ -1,22 +1,22 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2008--2015 GNUnet e.V. | 3 | Copyright (C) 2008--2015 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
7 | by the Free Software Foundation, either version 3 of the License, | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | or (at your option) any later version. | 8 | or (at your option) any later version. |
9 | 9 | ||
10 | GNUnet is distributed in the hope that it will be useful, but | 10 | GNUnet is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file testbed/gnunet-service-testbed_connectionpool.h | 22 | * @file testbed/gnunet-service-testbed_connectionpool.h |
@@ -36,8 +36,7 @@ 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 | { | ||
41 | /** | 40 | /** |
42 | * Transport service | 41 | * Transport service |
43 | */ | 42 | */ |
@@ -63,14 +62,14 @@ enum GST_ConnectionPool_Service | |||
63 | * #GST_ConnectionPool_Service | 62 | * #GST_ConnectionPool_Service |
64 | */ | 63 | */ |
65 | void | 64 | void |
66 | GST_connection_pool_init (unsigned int size); | 65 | GST_connection_pool_init(unsigned int size); |
67 | 66 | ||
68 | 67 | ||
69 | /** | 68 | /** |
70 | * Cleanup the connection pool | 69 | * Cleanup the connection pool |
71 | */ | 70 | */ |
72 | void | 71 | void |
73 | GST_connection_pool_destroy (void); | 72 | GST_connection_pool_destroy(void); |
74 | 73 | ||
75 | /** | 74 | /** |
76 | * Functions of this type are called when the needed handle is available for | 75 | * Functions of this type are called when the needed handle is available for |
@@ -142,7 +141,7 @@ typedef void (*GST_connection_pool_peer_connect_notify) ( | |||
142 | * longer being used | 141 | * longer being used |
143 | */ | 142 | */ |
144 | struct GST_ConnectionPool_GetHandle * | 143 | struct GST_ConnectionPool_GetHandle * |
145 | GST_connection_pool_get_handle ( | 144 | GST_connection_pool_get_handle( |
146 | unsigned int peer_id, | 145 | unsigned int peer_id, |
147 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 146 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
148 | enum GST_ConnectionPool_Service service, | 147 | enum GST_ConnectionPool_Service service, |
@@ -166,7 +165,7 @@ GST_connection_pool_get_handle ( | |||
166 | * @param gh the handle | 165 | * @param gh the handle |
167 | */ | 166 | */ |
168 | void | 167 | void |
169 | GST_connection_pool_get_handle_done (struct GST_ConnectionPool_GetHandle *gh); | 168 | GST_connection_pool_get_handle_done(struct GST_ConnectionPool_GetHandle *gh); |
170 | 169 | ||
171 | 170 | ||
172 | /* End of gnunet-service-testbed_connectionpool.h */ | 171 | /* End of gnunet-service-testbed_connectionpool.h */ |