aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
commitc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch)
treecac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/core/core.h
parentfbb71d527c7d6babf269a8fefce1db291b9f7068 (diff)
downloadgnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz
gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 44933b4a0..4d8619a29 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -80,7 +80,8 @@ 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{
84 /** 85 /**
85 * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT. 86 * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT.
86 */ 87 */
@@ -97,7 +98,8 @@ struct InitMessage {
97 * Message transmitted by the gnunet-service-core process 98 * Message transmitted by the gnunet-service-core process
98 * to its clients in response to an INIT message. 99 * to its clients in response to an INIT message.
99 */ 100 */
100struct InitReplyMessage { 101struct InitReplyMessage
102{
101 /** 103 /**
102 * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY 104 * Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY
103 */ 105 */
@@ -119,7 +121,8 @@ struct InitReplyMessage {
119 * Message sent by the service to clients to notify them 121 * Message sent by the service to clients to notify them
120 * about a peer connecting. 122 * about a peer connecting.
121 */ 123 */
122struct ConnectNotifyMessage { 124struct ConnectNotifyMessage
125{
123 /** 126 /**
124 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT 127 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT
125 */ 128 */
@@ -141,7 +144,8 @@ struct ConnectNotifyMessage {
141 * Message sent by the service to clients to notify them 144 * Message sent by the service to clients to notify them
142 * about a peer disconnecting. 145 * about a peer disconnecting.
143 */ 146 */
144struct DisconnectNotifyMessage { 147struct DisconnectNotifyMessage
148{
145 /** 149 /**
146 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT. 150 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT.
147 */ 151 */
@@ -168,7 +172,8 @@ struct DisconnectNotifyMessage {
168 * looking at the size field in the header of NotifyTrafficMessage and 172 * looking at the size field in the header of NotifyTrafficMessage and
169 * checking it with the size field in the message that follows. 173 * checking it with the size field in the message that follows.
170 */ 174 */
171struct NotifyTrafficMessage { 175struct NotifyTrafficMessage
176{
172 /** 177 /**
173 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND 178 * Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND
174 * or #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND. 179 * or #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND.
@@ -188,7 +193,8 @@ struct NotifyTrafficMessage {
188 * Client notifying core about the maximum-priority 193 * Client notifying core about the maximum-priority
189 * message it has in the queue for a particular target. 194 * message it has in the queue for a particular target.
190 */ 195 */
191struct SendMessageRequest { 196struct SendMessageRequest
197{
192 /** 198 /**
193 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST 199 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST
194 */ 200 */
@@ -232,7 +238,8 @@ struct SendMessageRequest {
232 * transmit a message to the given target 238 * transmit a message to the given target
233 * (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST). 239 * (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST).
234 */ 240 */
235struct SendMessageReady { 241struct SendMessageReady
242{
236 /** 243 /**
237 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_READY 244 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_READY
238 */ 245 */
@@ -262,7 +269,8 @@ struct SendMessageReady {
262 * Client asking core to transmit a particular message to a particular 269 * Client asking core to transmit a particular message to a particular
263 * target (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_READY). 270 * target (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_READY).
264 */ 271 */
265struct SendMessage { 272struct SendMessage
273{
266 /** 274 /**
267 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND 275 * Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND
268 */ 276 */
@@ -291,7 +299,8 @@ struct SendMessage {
291 * Message sent by the service to monitor clients to notify them 299 * Message sent by the service to monitor clients to notify them
292 * about a peer changing status. 300 * about a peer changing status.
293 */ 301 */
294struct MonitorNotifyMessage { 302struct MonitorNotifyMessage
303{
295 /** 304 /**
296 * Header with type #GNUNET_MESSAGE_TYPE_CORE_MONITOR_NOTIFY 305 * Header with type #GNUNET_MESSAGE_TYPE_CORE_MONITOR_NOTIFY
297 */ 306 */