diff options
Diffstat (limited to 'gnunet-dht-block-types/registry.rec')
-rw-r--r-- | gnunet-dht-block-types/registry.rec | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/gnunet-dht-block-types/registry.rec b/gnunet-dht-block-types/registry.rec new file mode 100644 index 0000000..793cf1e --- /dev/null +++ b/gnunet-dht-block-types/registry.rec | |||
@@ -0,0 +1,87 @@ | |||
1 | # -*- mode: rec -*- | ||
2 | # | ||
3 | # Registry for GNU Name System record types | ||
4 | # | ||
5 | |||
6 | %rec: BlockType | ||
7 | %key: Number | ||
8 | %type: Number int | ||
9 | %mandatory: Number | ||
10 | %typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/ | ||
11 | %type: Name Name_t | ||
12 | %unique: Name | ||
13 | %mandatory: Name | ||
14 | %mandatory: Comment | ||
15 | %allowed: Contact | ||
16 | %allowed: References | ||
17 | %sort: Number Name Contact References | ||
18 | |||
19 | Number: 1 | ||
20 | Name: FS_DBLOCK | ||
21 | Comment: Data block (leaf) in the CHK tree. | ||
22 | References: None | ||
23 | |||
24 | Number: 2 | ||
25 | Name: FS_IBLOCK | ||
26 | Comment: Inner block in the CHK tree. | ||
27 | References: None | ||
28 | |||
29 | Number: 6 | ||
30 | Name: FS_ONDEMAND | ||
31 | Comment: Type of a block representing a block to be encoded on demand from disk. Should never appear on the network directly. | ||
32 | References: None | ||
33 | |||
34 | Number: 7 | ||
35 | Name: DHT_HELLO | ||
36 | Comment: Type of a block that contains a HELLO for a peer. | ||
37 | References: None | ||
38 | |||
39 | Number: 8 | ||
40 | Name: TEST | ||
41 | Comment: Block for testing. | ||
42 | References: None | ||
43 | |||
44 | Number: 9 | ||
45 | Name: FS_UBLOCK | ||
46 | Comment: Type of a block representing any type of search result (universal). | ||
47 | References: None | ||
48 | |||
49 | Number: 10 | ||
50 | Name: DNS | ||
51 | Comment: Block for storing DNS exit service advertisements. | ||
52 | References: None | ||
53 | |||
54 | Number: 11 | ||
55 | Name: GNS_NAMERECORD | ||
56 | Comment: Block for storing GNS record data. | ||
57 | References: None | ||
58 | |||
59 | Number: 12 | ||
60 | Name: REVOCATION | ||
61 | Comment: Block type for a revocation message by which a key is revoked. | ||
62 | References: None | ||
63 | |||
64 | Number: 13 | ||
65 | Name: DHT_URL_HELLO | ||
66 | Comment: Type of a block that contains a DHT-NG HELLO for a peer. | ||
67 | References: None | ||
68 | |||
69 | Number: 22 | ||
70 | Name: REGEX | ||
71 | Comment: Block to store a cadet regex state | ||
72 | References: None | ||
73 | |||
74 | Number: 23 | ||
75 | Name: REGEX_ACCEPT | ||
76 | Comment: Block to store a cadet regex accepting state | ||
77 | References: None | ||
78 | |||
79 | Number: 24 | ||
80 | Name: SET_TEST | ||
81 | Comment: Block for testing set/consensus. If first byte of the block is non-zero, the block is considered invalid. | ||
82 | References: None | ||
83 | |||
84 | Number: 25 | ||
85 | Name: CONSENSUS_ELEMENT | ||
86 | Comment: Block type for consensus elements. Contains either special marker elements or a nested block. | ||
87 | References: None | ||