diff options
Diffstat (limited to 'src/core/gnunet-service-core.h')
-rw-r--r-- | src/core/gnunet-service-core.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/core/gnunet-service-core.h b/src/core/gnunet-service-core.h index 154596933..7cb4dffa9 100644 --- a/src/core/gnunet-service-core.h +++ b/src/core/gnunet-service-core.h | |||
@@ -16,7 +16,7 @@ | |||
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 core/gnunet-service-core.h | 22 | * @file core/gnunet-service-core.h |
@@ -43,9 +43,7 @@ struct GSC_Client; | |||
43 | * client that is still pending. (This struct is used by | 43 | * client that is still pending. (This struct is used by |
44 | * both the 'CLIENTS' and 'SESSIONS' subsystems.) | 44 | * both the 'CLIENTS' and 'SESSIONS' subsystems.) |
45 | */ | 45 | */ |
46 | struct GSC_ClientActiveRequest | 46 | struct GSC_ClientActiveRequest { |
47 | { | ||
48 | |||
49 | /** | 47 | /** |
50 | * Active requests are kept in a doubly-linked list of | 48 | * Active requests are kept in a doubly-linked list of |
51 | * the respective target peer. | 49 | * the respective target peer. |
@@ -108,7 +106,7 @@ struct GSC_ClientActiveRequest | |||
108 | * and SESSIONS after this call. | 106 | * and SESSIONS after this call. |
109 | */ | 107 | */ |
110 | void | 108 | void |
111 | GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car); | 109 | GSC_CLIENTS_solicit_request(struct GSC_ClientActiveRequest *car); |
112 | 110 | ||
113 | 111 | ||
114 | /** | 112 | /** |
@@ -124,8 +122,8 @@ GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car); | |||
124 | * and we should thus drop the connection | 122 | * and we should thus drop the connection |
125 | */ | 123 | */ |
126 | void | 124 | void |
127 | GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car, | 125 | GSC_CLIENTS_reject_request(struct GSC_ClientActiveRequest *car, |
128 | int drop_client); | 126 | int drop_client); |
129 | 127 | ||
130 | 128 | ||
131 | /** | 129 | /** |
@@ -139,7 +137,7 @@ GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car, | |||
139 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 137 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
140 | */ | 138 | */ |
141 | void | 139 | void |
142 | GSC_CLIENTS_notify_client_about_neighbour ( | 140 | GSC_CLIENTS_notify_client_about_neighbour( |
143 | struct GSC_Client *client, | 141 | struct GSC_Client *client, |
144 | const struct GNUNET_PeerIdentity *neighbour, | 142 | const struct GNUNET_PeerIdentity *neighbour, |
145 | const struct GSC_TypeMap *tmap_old, | 143 | const struct GSC_TypeMap *tmap_old, |
@@ -158,10 +156,10 @@ GSC_CLIENTS_notify_client_about_neighbour ( | |||
158 | * receive the message | 156 | * receive the message |
159 | */ | 157 | */ |
160 | void | 158 | void |
161 | GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender, | 159 | GSC_CLIENTS_deliver_message(const struct GNUNET_PeerIdentity *sender, |
162 | const struct GNUNET_MessageHeader *msg, | 160 | const struct GNUNET_MessageHeader *msg, |
163 | uint16_t msize, | 161 | uint16_t msize, |
164 | uint32_t options); | 162 | uint32_t options); |
165 | 163 | ||
166 | 164 | ||
167 | /** | 165 | /** |
@@ -174,7 +172,7 @@ GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender, | |||
174 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 172 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
175 | */ | 173 | */ |
176 | void | 174 | void |
177 | GSC_CLIENTS_notify_clients_about_neighbour ( | 175 | GSC_CLIENTS_notify_clients_about_neighbour( |
178 | const struct GNUNET_PeerIdentity *neighbour, | 176 | const struct GNUNET_PeerIdentity *neighbour, |
179 | const struct GSC_TypeMap *tmap_old, | 177 | const struct GSC_TypeMap *tmap_old, |
180 | const struct GSC_TypeMap *tmap_new); | 178 | const struct GSC_TypeMap *tmap_new); |