diff options
Diffstat (limited to 'src/include/gnu_name_system_record_types.h')
-rw-r--r-- | src/include/gnu_name_system_record_types.h | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/src/include/gnu_name_system_record_types.h b/src/include/gnu_name_system_record_types.h new file mode 100644 index 000000000..2cefce589 --- /dev/null +++ b/src/include/gnu_name_system_record_types.h | |||
@@ -0,0 +1,192 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2012-2022 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 | */ | ||
20 | #ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
21 | #define GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
22 | |||
23 | /** | ||
24 | * WARNING: | ||
25 | * This header is generated! | ||
26 | * In order to add GNS record types, you must register | ||
27 | * them in GANA, and then use the header generation script | ||
28 | * to create an update of this file. You may then replace this | ||
29 | * file with the update. | ||
30 | */ | ||
31 | |||
32 | #ifdef __cplusplus | ||
33 | extern "C" { | ||
34 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
35 | } | ||
36 | #endif | ||
37 | #endif | ||
38 | |||
39 | |||
40 | /** | ||
41 | * GNS zone delegation (PKEY) | ||
42 | */ | ||
43 | #define GNUNET_GNSRECORD_TYPE_PKEY 65536 | ||
44 | |||
45 | |||
46 | /** | ||
47 | * GNS zone nickname | ||
48 | */ | ||
49 | #define GNUNET_GNSRECORD_TYPE_NICK 65537 | ||
50 | |||
51 | |||
52 | /** | ||
53 | * GNS legacy hostname | ||
54 | */ | ||
55 | #define GNUNET_GNSRECORD_TYPE_LEHO 65538 | ||
56 | |||
57 | |||
58 | /** | ||
59 | * VPN resolution | ||
60 | */ | ||
61 | #define GNUNET_GNSRECORD_TYPE_VPN 65539 | ||
62 | |||
63 | |||
64 | /** | ||
65 | * Delegation to DNS | ||
66 | */ | ||
67 | #define GNUNET_GNSRECORD_TYPE_GNS2DNS 65540 | ||
68 | |||
69 | |||
70 | /** | ||
71 | * Box record | ||
72 | */ | ||
73 | #define GNUNET_GNSRECORD_TYPE_BOX 65541 | ||
74 | |||
75 | |||
76 | /** | ||
77 | * social place for SecuShare | ||
78 | */ | ||
79 | #define GNUNET_GNSRECORD_TYPE_PLACE 65542 | ||
80 | |||
81 | |||
82 | /** | ||
83 | * Endpoint for conversation | ||
84 | */ | ||
85 | #define GNUNET_GNSRECORD_TYPE_PHONE 65543 | ||
86 | |||
87 | |||
88 | /** | ||
89 | * identity attribute | ||
90 | */ | ||
91 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE 65544 | ||
92 | |||
93 | |||
94 | /** | ||
95 | * local ticket reference | ||
96 | */ | ||
97 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_TICKET 65545 | ||
98 | |||
99 | |||
100 | /** | ||
101 | * For ABD policies | ||
102 | */ | ||
103 | #define GNUNET_GNSRECORD_TYPE_DELEGATE 65548 | ||
104 | |||
105 | |||
106 | /** | ||
107 | * For ABD reverse lookups | ||
108 | */ | ||
109 | #define GNUNET_GNSRECORD_TYPE_ATTRIBUTE 65549 | ||
110 | |||
111 | |||
112 | /** | ||
113 | * for reclaim records | ||
114 | */ | ||
115 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE_REF 65550 | ||
116 | |||
117 | |||
118 | /** | ||
119 | * Redirection record | ||
120 | */ | ||
121 | #define GNUNET_GNSRECORD_TYPE_REDIRECT 65551 | ||
122 | |||
123 | |||
124 | /** | ||
125 | * For reclaim OIDC client names. | ||
126 | */ | ||
127 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_CLIENT 65552 | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Used reclaimID OIDC client redirect URIs. | ||
132 | */ | ||
133 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT 65553 | ||
134 | |||
135 | |||
136 | /** | ||
137 | * Record type for an attribute attestation (e.g. JWT). | ||
138 | */ | ||
139 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_CREDENTIAL 65554 | ||
140 | |||
141 | |||
142 | /** | ||
143 | * Record type for a presentation of a credential. | ||
144 | */ | ||
145 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_PRESENTATION 65555 | ||
146 | |||
147 | |||
148 | /** | ||
149 | * GNS zone delegation (EDKEY) | ||
150 | */ | ||
151 | #define GNUNET_GNSRECORD_TYPE_EDKEY 65556 | ||
152 | |||
153 | |||
154 | /** | ||
155 | * Encoding for Robust Immutable Storage (ERIS) binary read capability | ||
156 | */ | ||
157 | #define GNUNET_GNSRECORD_TYPE_ERIS_READ_CAPABILITY 65557 | ||
158 | |||
159 | |||
160 | /** | ||
161 | * Record type to share an entry of a messenger room | ||
162 | */ | ||
163 | #define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_ENTRY 65558 | ||
164 | |||
165 | |||
166 | /** | ||
167 | * Record type to indicate a previously delete record (PRIVATE only) | ||
168 | */ | ||
169 | #define GNUNET_GNSRECORD_TYPE_TOMBSTONE 65559 | ||
170 | |||
171 | |||
172 | /** | ||
173 | * Record type to store details about a messenger room | ||
174 | */ | ||
175 | #define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_DETAILS 65560 | ||
176 | |||
177 | |||
178 | /** | ||
179 | * Record type to store DID Documents | ||
180 | */ | ||
181 | #define GNUNET_GNSRECORD_TYPE_DID_DOCUMENT 65561 | ||
182 | |||
183 | |||
184 | |||
185 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
186 | { | ||
187 | #endif | ||
188 | #ifdef __cplusplus | ||
189 | } | ||
190 | #endif | ||
191 | |||
192 | #endif | ||