along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @file core/core.h
* uint16_t type values specifying which messages this
* client is interested in.
*/
-struct InitMessage
-{
-
+struct InitMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT.
*/
* Message transmitted by the gnunet-service-core process
* to its clients in response to an INIT message.
*/
-struct InitReplyMessage
-{
-
+struct InitReplyMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY
*/
* Message sent by the service to clients to notify them
* about a peer connecting.
*/
-struct ConnectNotifyMessage
-{
+struct ConnectNotifyMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT
*/
* Message sent by the service to clients to notify them
* about a peer disconnecting.
*/
-struct DisconnectNotifyMessage
-{
+struct DisconnectNotifyMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT.
*/
* looking at the size field in the header of NotifyTrafficMessage and
* checking it with the size field in the message that follows.
*/
-struct NotifyTrafficMessage
-{
+struct NotifyTrafficMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND
* or #GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND.
* Client notifying core about the maximum-priority
* message it has in the queue for a particular target.
*/
-struct SendMessageRequest
-{
+struct SendMessageRequest {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST
*/
* transmit a message to the given target
* (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_REQUEST).
*/
-struct SendMessageReady
-{
+struct SendMessageReady {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND_READY
*/
* Client asking core to transmit a particular message to a particular
* target (response to #GNUNET_MESSAGE_TYPE_CORE_SEND_READY).
*/
-struct SendMessage
-{
+struct SendMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_SEND
*/
* Message sent by the service to monitor clients to notify them
* about a peer changing status.
*/
-struct MonitorNotifyMessage
-{
+struct MonitorNotifyMessage {
/**
* Header with type #GNUNET_MESSAGE_TYPE_CORE_MONITOR_NOTIFY
*/