diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-06 12:55:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-06 12:55:38 +0000 |
commit | 2ffb6f329c85b24367199f910f6603950e1fba68 (patch) | |
tree | 537e401b59e3f7c435d5d8369ba3088e1679743b /src/include/gnunet_block_lib.h | |
parent | b8da6057b2c0c66931ccde9b4bba418fc5222724 (diff) | |
download | gnunet-2ffb6f329c85b24367199f910f6603950e1fba68.tar.gz gnunet-2ffb6f329c85b24367199f910f6603950e1fba68.zip |
DHT PUT integration into FS
Diffstat (limited to 'src/include/gnunet_block_lib.h')
-rw-r--r-- | src/include/gnunet_block_lib.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h index 15119f445..d05cab2b6 100644 --- a/src/include/gnunet_block_lib.h +++ b/src/include/gnunet_block_lib.h | |||
@@ -58,7 +58,8 @@ enum GNUNET_BLOCK_Type | |||
58 | GNUNET_BLOCK_TYPE_FS_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. Note that |
62 | * the values for KBLOCK, SBLOCK and NBLOCK must be consecutive. | ||
62 | */ | 63 | */ |
63 | GNUNET_BLOCK_TYPE_FS_KBLOCK = 3, | 64 | GNUNET_BLOCK_TYPE_FS_KBLOCK = 3, |
64 | 65 | ||
@@ -68,15 +69,15 @@ enum GNUNET_BLOCK_Type | |||
68 | GNUNET_BLOCK_TYPE_FS_SBLOCK = 4, | 69 | GNUNET_BLOCK_TYPE_FS_SBLOCK = 4, |
69 | 70 | ||
70 | /** | 71 | /** |
71 | * Type of a block representing a block to be encoded on demand from disk. | 72 | * Type of a block that is used to advertise a namespace. |
72 | * Should never appear on the network directly. | ||
73 | */ | 73 | */ |
74 | GNUNET_BLOCK_TYPE_FS_ONDEMAND = 5, | 74 | GNUNET_BLOCK_TYPE_FS_NBLOCK = 5, |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * Type of a block that is used to advertise a namespace. | 77 | * Type of a block representing a block to be encoded on demand from disk. |
78 | * Should never appear on the network directly. | ||
78 | */ | 79 | */ |
79 | GNUNET_BLOCK_TYPE_FS_NBLOCK = 6, | 80 | GNUNET_BLOCK_TYPE_FS_ONDEMAND = 6, |
80 | 81 | ||
81 | /** | 82 | /** |
82 | * Type of a block that contains a HELLO for a peer (for | 83 | * Type of a block that contains a HELLO for a peer (for |