diff options
Diffstat (limited to 'src/include/gnu_name_system_record_types.h')
-rw-r--r-- | src/include/gnu_name_system_record_types.h | 129 |
1 files changed, 129 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..1af49c6e4 --- /dev/null +++ b/src/include/gnu_name_system_record_types.h | |||
@@ -0,0 +1,129 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2012-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 | */ | ||
20 | #ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
21 | #define GNU_NAME_SYSTEM_RECORD_TYPES_H | ||
22 | |||
23 | #ifdef __cplusplus | ||
24 | extern "C" { | ||
25 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
26 | } | ||
27 | #endif | ||
28 | #endif | ||
29 | |||
30 | |||
31 | /** | ||
32 | * GNS zone transfer | ||
33 | */ | ||
34 | #define GNUNET_GNSRECORD_TYPE_PKEY 65536 | ||
35 | |||
36 | /** | ||
37 | * GNS nick names | ||
38 | */ | ||
39 | #define GNUNET_GNSRECORD_TYPE_NICK 65537 | ||
40 | |||
41 | /** | ||
42 | * legacy hostnames | ||
43 | */ | ||
44 | #define GNUNET_GNSRECORD_TYPE_LEHO 65538 | ||
45 | |||
46 | /** | ||
47 | * VPN resolution | ||
48 | */ | ||
49 | #define GNUNET_GNSRECORD_TYPE_VPN 65539 | ||
50 | |||
51 | /** | ||
52 | * Delegation to DNS | ||
53 | */ | ||
54 | #define GNUNET_GNSRECORD_TYPE_GNS2DNS 65540 | ||
55 | |||
56 | /** | ||
57 | * Boxed records (see TLSA/SRV handling in GNS) | ||
58 | */ | ||
59 | #define GNUNET_GNSRECORD_TYPE_BOX 65541 | ||
60 | |||
61 | /** | ||
62 | * social place for SecuShare | ||
63 | */ | ||
64 | #define GNUNET_GNSRECORD_TYPE_PLACE 65542 | ||
65 | |||
66 | /** | ||
67 | * Endpoint for conversation | ||
68 | */ | ||
69 | #define GNUNET_GNSRECORD_TYPE_PHONE 65543 | ||
70 | |||
71 | /** | ||
72 | * identity attribute | ||
73 | */ | ||
74 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE 65544 | ||
75 | |||
76 | /** | ||
77 | * local ticket reference | ||
78 | */ | ||
79 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_TICKET 65545 | ||
80 | |||
81 | /** | ||
82 | * For ABD policies | ||
83 | */ | ||
84 | #define GNUNET_GNSRECORD_TYPE_DELEGATE 65548 | ||
85 | |||
86 | /** | ||
87 | * For ABD reverse lookups | ||
88 | */ | ||
89 | #define GNUNET_GNSRECORD_TYPE_ATTRIBUTE 65549 | ||
90 | |||
91 | /** | ||
92 | * for reclaim records | ||
93 | */ | ||
94 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE_REF 65550 | ||
95 | |||
96 | /** | ||
97 | * For reclaim OIDC client names. | ||
98 | */ | ||
99 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_CLIENT 65552 | ||
100 | |||
101 | /** | ||
102 | * Used reclaimID OIDC client redirect URIs. | ||
103 | */ | ||
104 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT 65553 | ||
105 | |||
106 | /** | ||
107 | * Record type for an attribute attestation (e.g. JWT). | ||
108 | */ | ||
109 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_CREDENTIAL 65554 | ||
110 | |||
111 | /** | ||
112 | * Record type for a presentation of a credential. | ||
113 | */ | ||
114 | #define GNUNET_GNSRECORD_TYPE_RECLAIM_PRESENTATION 65555 | ||
115 | |||
116 | /** | ||
117 | * Record type for EDKEY zone delegations. | ||
118 | */ | ||
119 | #define GNUNET_GNSRECORD_TYPE_EDKEY 65556 | ||
120 | |||
121 | |||
122 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
123 | { | ||
124 | #endif | ||
125 | #ifdef __cplusplus | ||
126 | } | ||
127 | #endif | ||
128 | |||
129 | #endif | ||