diff options
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/src/core/core.h b/src/core/core.h index 95d506fbd..44933b4a0 100644 --- a/src/core/core.h +++ b/src/core/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/core.h | 22 | * @file core/core.h |
@@ -80,9 +80,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
80 | * uint16_t type values specifying which messages this | 80 | * uint16_t type values specifying which messages this |
81 | * client is interested in. | 81 | * client is interested in. |
82 | */ | 82 | */ |
83 | struct InitMessage | 83 | struct InitMessage { |
84 | { | ||
85 | |||
86 | /** | 84 | /** |
87 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT. | 85 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT. |
88 | */ | 86 | */ |
@@ -99,9 +97,7 @@ struct InitMessage | |||
99 | * Message transmitted by the gnunet-service-core process | 97 | * Message transmitted by the gnunet-service-core process |
100 | * to its clients in response to an INIT message. | 98 | * to its clients in response to an INIT message. |
101 | */ | 99 | */ |
102 | struct InitReplyMessage | 100 | struct InitReplyMessage { |
103 | { | ||
104 | |||
105 | /** | 101 | /** |
106 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY | 102 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY |
107 | */ | 103 | */ |
@@ -123,8 +119,7 @@ struct InitReplyMessage | |||
123 | * Message sent by the service to clients to notify them | 119 | * Message sent by the service to clients to notify them |
124 | * about a peer connecting. | 120 | * about a peer connecting. |
125 | */ | 121 | */ |
126 | struct ConnectNotifyMessage | 122 | struct ConnectNotifyMessage { |
127 | { | ||
128 | /** | 123 | /** |
129 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT | 124 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT |
130 | */ | 125 | */ |
@@ -146,8 +141,7 @@ struct ConnectNotifyMessage | |||
146 | * Message sent by the service to clients to notify them | 141 | * Message sent by the service to clients to notify them |
147 | * about a peer disconnecting. | 142 | * about a peer disconnecting. |
148 | */ | 143 | */ |
149 | struct DisconnectNotifyMessage | 144 | struct DisconnectNotifyMessage { |
150 | { | ||
151 | /** | 145 | /** |
152 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT. | 146 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT. |
153 | */ | 147 | */ |
@@ -174,8 +168,7 @@ struct DisconnectNotifyMessage | |||
174 | * looking at the size field in the header of NotifyTrafficMessage and | 168 | * looking at the size field in the header of NotifyTrafficMessage and |
175 | * checking it with the size field in the message that follows. | 169 | * checking it with the size field in the message that follows. |
176 | */ | 170 | */ |
177 | struct NotifyTrafficMessage | 171 | struct NotifyTrafficMessage { |
178 | { | ||
179 | /** | 172 | /** |
180 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND | 173 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND |
181 | * or #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND. | 174 | * or #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND. |
@@ -195,8 +188,7 @@ struct NotifyTrafficMessage | |||
195 | * Client notifying core about the maximum-priority | 188 | * Client notifying core about the maximum-priority |
196 | * message it has in the queue for a particular target. | 189 | * message it has in the queue for a particular target. |
197 | */ | 190 | */ |
198 | struct SendMessageRequest | 191 | struct SendMessageRequest { |
199 | { | ||
200 | /** | 192 | /** |
201 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST | 193 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST |
202 | */ | 194 | */ |
@@ -240,8 +232,7 @@ struct SendMessageRequest | |||
240 | * transmit a message to the given target | 232 | * transmit a message to the given target |
241 | * (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST). | 233 | * (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST). |
242 | */ | 234 | */ |
243 | struct SendMessageReady | 235 | struct SendMessageReady { |
244 | { | ||
245 | /** | 236 | /** |
246 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_READY | 237 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_READY |
247 | */ | 238 | */ |
@@ -271,8 +262,7 @@ struct SendMessageReady | |||
271 | * Client asking core to transmit a particular message to a particular | 262 | * Client asking core to transmit a particular message to a particular |
272 | * target (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_READY). | 263 | * target (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_READY). |
273 | */ | 264 | */ |
274 | struct SendMessage | 265 | struct SendMessage { |
275 | { | ||
276 | /** | 266 | /** |
277 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND | 267 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND |
278 | */ | 268 | */ |
@@ -301,8 +291,7 @@ struct SendMessage | |||
301 | * Message sent by the service to monitor clients to notify them | 291 | * Message sent by the service to monitor clients to notify them |
302 | * about a peer changing status. | 292 | * about a peer changing status. |
303 | */ | 293 | */ |
304 | struct MonitorNotifyMessage | 294 | struct MonitorNotifyMessage { |
305 | { | ||
306 | /** | 295 | /** |
307 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_MONITOR_NOTIFY | 296 | * Header with type #GNUNET_MESSAGE_TYPE_CORE_MONITOR_NOTIFY |
308 | */ | 297 | */ |