summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h31
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 */
83struct InitMessage 83struct 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 */
102struct InitReplyMessage 100struct 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 */
126struct ConnectNotifyMessage 122struct 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 */
149struct DisconnectNotifyMessage 144struct 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 */
177struct NotifyTrafficMessage 171struct 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 */
198struct SendMessageRequest 191struct 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 */
243struct SendMessageReady 235struct 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 */
274struct SendMessage 265struct 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 */
304struct MonitorNotifyMessage 294struct 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 */