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 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 {
52  struct GNUNET_MessageHeader header;
53 };
54 
59 {
60  struct GNUNET_MessageHeader header;
61 };
62 
67 {
68  struct GNUNET_MessageHeader header;
69 };
70 
75 {
76  struct GNUNET_MessageHeader header;
78 };
79 
84 {
85  struct GNUNET_MessageHeader header;
86 
87  struct GNUNET_PeerIdentity door;
89 };
90 
95 {
96  struct GNUNET_MessageHeader header;
97 
98  struct GNUNET_HashCode key;
100 };
101 
106 {
107  struct GNUNET_MessageHeader header;
108  struct GNUNET_HashCode key;
109 };
110 
115 {
116  struct GNUNET_MessageHeader header;
117  struct GNUNET_HashCode key;
118  struct GNUNET_HashCode hash;
119 };
120 
121 #endif //GNUNET_SERVICE_MESSENGER_H
struct GNUNET_MessageHeader header
Message to receive the current member id of a handle in room.
static struct GNUNET_IDENTITY_Handle * id
Handle to identity service.
A 256-bit hashcode.
cryptographic primitives for GNUnet
Message to send something into a room.
Message to create a handle for a client.
static struct GNUNET_IDENTITY_PublicKey pubkey
Public key of the zone to look in.
A 512-bit hashcode.
struct GNUNET_HashCode key
The key used in the DHT.
Message to update the handle (its EGO key) for a client.
Message to destroy the handle for a client.
The identity of the host (wraps the signing key of the peer).
An identity key as per LSD0001.
Message to receive the current name of a handle.
Message to receive the current public key of a handle.
Header for all communications.
Message to receive something from a room.
General message to confirm interaction with a room.