diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-13 20:24:14 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-11-13 20:24:14 +0100 |
commit | 3af9a8c295a1a17adddb2127aa151723cd7c396c (patch) | |
tree | d1f7a885e7488077c0d541d7806fa11fb4460d6b /src/include/gnunet_messenger_service.h | |
parent | 154d13fcb10205edf5fb56c12ac47e65abfec5a6 (diff) | |
download | gnunet-3af9a8c295a1a17adddb2127aa151723cd7c396c.tar.gz gnunet-3af9a8c295a1a17adddb2127aa151723cd7c396c.zip |
-add gns record plugin for messenger room entries
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/include/gnunet_messenger_service.h')
-rw-r--r-- | src/include/gnunet_messenger_service.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h index b54567aa7..96d48b411 100644 --- a/src/include/gnunet_messenger_service.h +++ b/src/include/gnunet_messenger_service.h | |||
@@ -75,6 +75,27 @@ struct GNUNET_MESSENGER_Room; | |||
75 | */ | 75 | */ |
76 | struct GNUNET_MESSENGER_Contact; | 76 | struct GNUNET_MESSENGER_Contact; |
77 | 77 | ||
78 | GNUNET_NETWORK_STRUCT_BEGIN | ||
79 | |||
80 | /** | ||
81 | * A room entry record specifies which peer is hosting a given room and | ||
82 | * may also specify the key to enter it. | ||
83 | */ | ||
84 | struct GNUNET_MESSENGER_RoomEntryRecord | ||
85 | { | ||
86 | /** | ||
87 | * The peer identity of an open door to a room. | ||
88 | */ | ||
89 | struct GNUNET_PeerIdentity door; | ||
90 | |||
91 | /** | ||
92 | * The hash identifying the port of the room. | ||
93 | */ | ||
94 | struct GNUNET_HashCode key; | ||
95 | }; | ||
96 | |||
97 | GNUNET_NETWORK_STRUCT_END | ||
98 | |||
78 | /** | 99 | /** |
79 | * Enum for the different supported kinds of messages | 100 | * Enum for the different supported kinds of messages |
80 | */ | 101 | */ |