GNUnet  0.19.3
gnunet-service-messenger.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet.
3  Copyright (C) 2020--2021 GNUnet e.V.
4 
5  GNUnet is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Affero General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNUnet is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Affero General Public License for more details.
14 
15  You should have received a copy of the GNU Affero General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: AGPL3.0-or-later
19  */
26 #ifndef GNUNET_SERVICE_MESSENGER_H
27 #define GNUNET_SERVICE_MESSENGER_H
28 
29 #include "platform.h"
30 #include "gnunet_cadet_service.h"
32 #include "gnunet_protocols.h"
33 #include "gnunet_util_lib.h"
34 
39 {
41 };
42 
47 {
49 };
50 
55 {
57 };
58 
63 {
65 };
66 
71 {
73 };
74 
79 {
81 
83  struct GNUNET_HashCode key;
84 };
85 
90 {
92 
93  struct GNUNET_HashCode key;
94  struct GNUNET_ShortHashCode id;
95 };
96 
101 {
103 
104  struct GNUNET_HashCode key;
105  uint32_t flags;
106 };
107 
112 {
114 
115  struct GNUNET_HashCode key;
116  struct GNUNET_HashCode hash;
117 };
118 
123 {
125 
126  struct GNUNET_HashCode key;
127  struct GNUNET_HashCode sender;
128  struct GNUNET_HashCode context;
129  struct GNUNET_HashCode hash;
130  uint32_t flags;
131 };
132 
133 #endif //GNUNET_SERVICE_MESSENGER_H
CADET service; establish channels to distant peers.
Identity service; implements identity management for GNUnet.
Constants for network protocols.
A 512-bit hashcode.
Message to create a handle for a client.
struct GNUNET_MessageHeader header
Message to destroy the handle for a client.
struct GNUNET_MessageHeader header
Message to request something from a room.
struct GNUNET_MessageHeader header
Message to receive the current public key of a handle.
struct GNUNET_MessageHeader header
Message to receive the current member id of a handle in room.
struct GNUNET_ShortHashCode id
struct GNUNET_MessageHeader header
Message to receive the current name of a handle.
struct GNUNET_MessageHeader header
Message to receive something from a room.
struct GNUNET_MessageHeader header
General message to confirm interaction with a room.
struct GNUNET_PeerIdentity door
struct GNUNET_MessageHeader header
Message to send something into a room.
struct GNUNET_MessageHeader header
Message to update the handle (its EGO key) for a client.
struct GNUNET_MessageHeader header
Header for all communications.
The identity of the host (wraps the signing key of the peer).
A 256-bit hashcode.