GNUnet  0.11.x
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"
31 #include "gnunet_container_lib.h"
32 #include "gnunet_crypto_lib.h"
34 #include "gnunet_mq_lib.h"
35 #include "gnunet_peer_lib.h"
36 #include "gnunet_protocols.h"
37 #include "gnunet_util_lib.h"
38 
43 {
45 };
46 
51 {
53 };
54 
59 {
61 };
62 
67 {
69 };
70 
75 {
77 };
78 
83 {
85 
87  struct GNUNET_HashCode key;
88 };
89 
94 {
96 
97  struct GNUNET_HashCode key;
98  struct GNUNET_ShortHashCode id;
99 };
100 
105 {
107 
108  struct GNUNET_HashCode key;
109  uint32_t flags;
110 };
111 
116 {
118 
119  struct GNUNET_HashCode key;
120  struct GNUNET_HashCode hash;
121 };
122 
127 {
129 
130  struct GNUNET_HashCode key;
131  struct GNUNET_HashCode sender;
132  struct GNUNET_HashCode context;
133  struct GNUNET_HashCode hash;
134  uint32_t flags;
135 };
136 
137 #endif //GNUNET_SERVICE_MESSENGER_H
cryptographic primitives for GNUnet
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.