GNUnet 0.22.0
gnunet_dht_block_types.h File Reference

Go to the source code of this file.

Enumerations

enum  GNUNET_BLOCK_Type {
  GNUNET_BLOCK_TYPE_ANY = 0 , GNUNET_BLOCK_TYPE_FS_DBLOCK = 1 , GNUNET_BLOCK_TYPE_FS_IBLOCK = 2 , GNUNET_BLOCK_TYPE_FS_ONDEMAND = 6 ,
  GNUNET_BLOCK_TYPE_LEGACY_HELLO = 7 , GNUNET_BLOCK_TYPE_TEST = 8 , GNUNET_BLOCK_TYPE_FS_UBLOCK = 9 , GNUNET_BLOCK_TYPE_DNS = 10 ,
  GNUNET_BLOCK_TYPE_GNS_NAMERECORD = 11 , GNUNET_BLOCK_TYPE_REVOCATION = 12 , GNUNET_BLOCK_TYPE_DHT_HELLO = 13 , GNUNET_BLOCK_TYPE_REGEX = 22 ,
  GNUNET_BLOCK_TYPE_REGEX_ACCEPT = 23 , GNUNET_BLOCK_TYPE_SET_TEST = 24 , GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT = 25 , GNUNET_BLOCK_TYPE_SETI_TEST = 26 ,
  GNUNET_BLOCK_TYPE_SETU_TEST = 27 , GNUNET_BLOCK_TYPE_ANY = 0 , GNUNET_BLOCK_TYPE_FS_DBLOCK = 1 , GNUNET_BLOCK_TYPE_FS_IBLOCK = 2 ,
  GNUNET_BLOCK_TYPE_FS_ONDEMAND = 6 , GNUNET_BLOCK_TYPE_LEGACY_HELLO = 7 , GNUNET_BLOCK_TYPE_TEST = 8 , GNUNET_BLOCK_TYPE_FS_UBLOCK = 9 ,
  GNUNET_BLOCK_TYPE_DNS = 10 , GNUNET_BLOCK_TYPE_GNS_NAMERECORD = 11 , GNUNET_BLOCK_TYPE_REVOCATION = 12 , GNUNET_BLOCK_TYPE_DHT_HELLO = 13 ,
  GNUNET_BLOCK_TYPE_REGEX = 22 , GNUNET_BLOCK_TYPE_REGEX_ACCEPT = 23 , GNUNET_BLOCK_TYPE_SET_TEST = 24 , GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT = 25 ,
  GNUNET_BLOCK_TYPE_SETI_TEST = 26 , GNUNET_BLOCK_TYPE_SETU_TEST = 27
}
 WARNING: This header is generated! In order to add DHT block types, you must register them in GANA, and then use the header generation script to create an update of this file. More...
 

Enumeration Type Documentation

◆ GNUNET_BLOCK_Type

WARNING: This header is generated! In order to add DHT block types, you must register them in GANA, and then use the header generation script to create an update of this file.

You may then replace this file with the update. Blocks in the datastore and the datacache must have a unique type.

Enumerator
GNUNET_BLOCK_TYPE_ANY 

Identifier for any block.

GNUNET_BLOCK_TYPE_FS_DBLOCK 

Data block (leaf) in the CHK tree.

GNUNET_BLOCK_TYPE_FS_IBLOCK 

Inner block in the CHK tree.

GNUNET_BLOCK_TYPE_FS_ONDEMAND 

Type of a block representing a block to be encoded on demand from disk.

Should never appear on the network directly.

GNUNET_BLOCK_TYPE_LEGACY_HELLO 

Legacy type of a block that contains a HELLO for a peer.

GNUNET_BLOCK_TYPE_TEST 

Block for testing.

GNUNET_BLOCK_TYPE_FS_UBLOCK 

Type of a block representing any type of search result (universal).

GNUNET_BLOCK_TYPE_DNS 

Block for storing DNS exit service advertisements.

GNUNET_BLOCK_TYPE_GNS_NAMERECORD 

Block for storing GNS record data.

GNUNET_BLOCK_TYPE_REVOCATION 

Block type for a revocation message by which a key is revoked.

GNUNET_BLOCK_TYPE_DHT_HELLO 

Type of a block that contains a DHT-NG HELLO for a peer.

GNUNET_BLOCK_TYPE_REGEX 

Block to store a cadet regex state.

GNUNET_BLOCK_TYPE_REGEX_ACCEPT 

Block to store a cadet regex accepting state.

GNUNET_BLOCK_TYPE_SET_TEST 

Block for testing set/consensus.

If first byte of the block is non-zero, the block is considered invalid.

GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT 

Block type for consensus elements.

Contains either special marker elements or a nested block.

GNUNET_BLOCK_TYPE_SETI_TEST 

Block for testing set intersection.

If first byte of the block is non-zero, the block is considered invalid.

GNUNET_BLOCK_TYPE_SETU_TEST 

Block for testing set union.

If first byte of the block is non-zero, the block is considered invalid.

GNUNET_BLOCK_TYPE_ANY 

Identifier for any block.

GNUNET_BLOCK_TYPE_FS_DBLOCK 

Data block (leaf) in the CHK tree.

GNUNET_BLOCK_TYPE_FS_IBLOCK 

Inner block in the CHK tree.

GNUNET_BLOCK_TYPE_FS_ONDEMAND 

Type of a block representing a block to be encoded on demand from disk.

Should never appear on the network directly.

GNUNET_BLOCK_TYPE_LEGACY_HELLO 

Legacy type of a block that contains a HELLO for a peer.

GNUNET_BLOCK_TYPE_TEST 

Block for testing.

GNUNET_BLOCK_TYPE_FS_UBLOCK 

Type of a block representing any type of search result (universal).

GNUNET_BLOCK_TYPE_DNS 

Block for storing DNS exit service advertisements.

GNUNET_BLOCK_TYPE_GNS_NAMERECORD 

Block for storing GNS record data.

GNUNET_BLOCK_TYPE_REVOCATION 

Block type for a revocation message by which a key is revoked.

GNUNET_BLOCK_TYPE_DHT_HELLO 

Type of a block that contains a DHT-NG HELLO for a peer.

GNUNET_BLOCK_TYPE_REGEX 

Block to store a cadet regex state.

GNUNET_BLOCK_TYPE_REGEX_ACCEPT 

Block to store a cadet regex accepting state.

GNUNET_BLOCK_TYPE_SET_TEST 

Block for testing set/consensus.

If first byte of the block is non-zero, the block is considered invalid.

GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT 

Block type for consensus elements.

Contains either special marker elements or a nested block.

GNUNET_BLOCK_TYPE_SETI_TEST 

Block for testing set intersection.

If first byte of the block is non-zero, the block is considered invalid.

GNUNET_BLOCK_TYPE_SETU_TEST 

Block for testing set union.

If first byte of the block is non-zero, the block is considered invalid.

Definition at line 42 of file gnunet_dht_block_types.h.

43{
44
45
50
51
56
57
62
63
68
69
74
75
80
81
86
87
92
93
98
99
104
105
110
111
116
117
122
123
128
129
134
135
140
141
146};
@ GNUNET_BLOCK_TYPE_REGEX_ACCEPT
Block to store a cadet regex accepting state.
@ GNUNET_BLOCK_TYPE_FS_DBLOCK
Data block (leaf) in the CHK tree.
@ GNUNET_BLOCK_TYPE_REVOCATION
Block type for a revocation message by which a key is revoked.
@ GNUNET_BLOCK_TYPE_FS_ONDEMAND
Type of a block representing a block to be encoded on demand from disk.
@ GNUNET_BLOCK_TYPE_DNS
Block for storing DNS exit service advertisements.
@ GNUNET_BLOCK_TYPE_TEST
Block for testing.
@ GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT
Block type for consensus elements.
@ GNUNET_BLOCK_TYPE_LEGACY_HELLO
Legacy type of a block that contains a HELLO for a peer.
@ GNUNET_BLOCK_TYPE_GNS_NAMERECORD
Block for storing GNS record data.
@ GNUNET_BLOCK_TYPE_FS_IBLOCK
Inner block in the CHK tree.
@ GNUNET_BLOCK_TYPE_ANY
Identifier for any block.
@ GNUNET_BLOCK_TYPE_REGEX
Block to store a cadet regex state.
@ GNUNET_BLOCK_TYPE_SETU_TEST
Block for testing set union.
@ GNUNET_BLOCK_TYPE_FS_UBLOCK
Type of a block representing any type of search result (universal).
@ GNUNET_BLOCK_TYPE_SETI_TEST
Block for testing set intersection.
@ GNUNET_BLOCK_TYPE_DHT_HELLO
Type of a block that contains a DHT-NG HELLO for a peer.
@ GNUNET_BLOCK_TYPE_SET_TEST
Block for testing set/consensus.