aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_messenger_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_messenger_service.h')
-rw-r--r--src/include/gnunet_messenger_service.h21
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 */
76struct GNUNET_MESSENGER_Contact; 76struct GNUNET_MESSENGER_Contact;
77 77
78GNUNET_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 */
84struct 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
97GNUNET_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 */