aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_block_lib.h')
-rw-r--r--src/include/gnunet_block_lib.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h
index 5154a3c08..bdbaeade5 100644
--- a/src/include/gnunet_block_lib.h
+++ b/src/include/gnunet_block_lib.h
@@ -50,39 +50,46 @@ enum GNUNET_BLOCK_Type
50 /** 50 /**
51 * Data block (leaf) in the CHK tree. 51 * Data block (leaf) in the CHK tree.
52 */ 52 */
53 GNUNET_BLOCK_TYPE_DBLOCK = 1, 53 GNUNET_BLOCK_TYPE_FS_DBLOCK = 1,
54 54
55 /** 55 /**
56 * Inner block in the CHK tree. 56 * Inner block in the CHK tree.
57 */ 57 */
58 GNUNET_BLOCK_TYPE_IBLOCK = 2, 58 GNUNET_BLOCK_TYPE_FS_IBLOCK = 2,
59 59
60 /** 60 /**
61 * Type of a block representing a keyword search result. 61 * Type of a block representing a keyword search result.
62 */ 62 */
63 GNUNET_BLOCK_TYPE_KBLOCK = 3, 63 GNUNET_BLOCK_TYPE_FS_KBLOCK = 3,
64 64
65 /** 65 /**
66 * Type of a block that is used to advertise content in a namespace. 66 * Type of a block that is used to advertise content in a namespace.
67 */ 67 */
68 GNUNET_BLOCK_TYPE_SBLOCK = 4, 68 GNUNET_BLOCK_TYPE_FS_SBLOCK = 4,
69 69
70 /** 70 /**
71 * Type of a block representing a block to be encoded on demand from disk. 71 * Type of a block representing a block to be encoded on demand from disk.
72 * Should never appear on the network directly. 72 * Should never appear on the network directly.
73 */ 73 */
74 GNUNET_BLOCK_TYPE_ONDEMAND = 5, 74 GNUNET_BLOCK_TYPE_FS_ONDEMAND = 5,
75 75
76 /** 76 /**
77 * Type of a block that is used to advertise a namespace. 77 * Type of a block that is used to advertise a namespace.
78 */ 78 */
79 GNUNET_BLOCK_TYPE_NBLOCK = 6, 79 GNUNET_BLOCK_TYPE_FS_NBLOCK = 6,
80 80
81 GNUNET_BLOCK_TYPE_TEST = 9999 81 /**
82 82 * Type of a block that contains a HELLO for a peer (for
83 }; 83 * DHT find-peer operations).
84 */
85 GNUNET_BLOCK_TYPE_DHT_HELLO = 7,
84 86
87 /**
88 * Block for testing.
89 */
90 GNUNET_BLOCK_TYPE_TEST = 8
85 91
92 };
86 93
87 94
88/** 95/**