diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-21 12:57:42 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-21 12:57:42 +0100 |
commit | 8d4192c47697d87373fd2886746a12e42d60d515 (patch) | |
tree | 5ee812e37b20e1379c5796abf63d3de8f52a4e8e /src/include | |
parent | ec8a825b0e56c692c4879db10c6b25cd26bb42e4 (diff) | |
download | gnunet-8d4192c47697d87373fd2886746a12e42d60d515.tar.gz gnunet-8d4192c47697d87373fd2886746a12e42d60d515.zip |
-add gns record type handling for messenger room details
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_messenger_service.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h index 96d48b411..f8bbc7398 100644 --- a/src/include/gnunet_messenger_service.h +++ b/src/include/gnunet_messenger_service.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2020--2021 GNUnet e.V. | 3 | Copyright (C) 2020--2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 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 | 6 | under the terms of the GNU Affero General Public License as published |
@@ -96,6 +96,27 @@ struct GNUNET_MESSENGER_RoomEntryRecord | |||
96 | 96 | ||
97 | GNUNET_NETWORK_STRUCT_END | 97 | GNUNET_NETWORK_STRUCT_END |
98 | 98 | ||
99 | GNUNET_NETWORK_STRUCT_BEGIN | ||
100 | |||
101 | /** | ||
102 | * A room details record specifies a custom name for a given room and | ||
103 | * some additional space for flags. | ||
104 | */ | ||
105 | struct GNUNET_MESSENGER_RoomDetailsRecord | ||
106 | { | ||
107 | /** | ||
108 | * The custom name for the room. | ||
109 | */ | ||
110 | char name [256]; | ||
111 | |||
112 | /** | ||
113 | * The flags of the room. | ||
114 | */ | ||
115 | uint32_t flags; | ||
116 | }; | ||
117 | |||
118 | GNUNET_NETWORK_STRUCT_END | ||
119 | |||
99 | /** | 120 | /** |
100 | * Enum for the different supported kinds of messages | 121 | * Enum for the different supported kinds of messages |
101 | */ | 122 | */ |