fixing block reconstruction start/shutdown code
[oweals/gnunet.git] / src / fs / fs_tree.h
index 2cc627899e51fb1366bd4a0204f724f16c789304..ebeb47e637075f775c46d7da48d9ad5a5abfab63 100644 (file)
@@ -60,6 +60,7 @@ struct GNUNET_FS_TreeEncoder;
  * @param cls closure
  * @param query the query for the block (key for lookup in the datastore)
  * @param offset offset of the block
+ * @param depth depth of the block
  * @param type type of the block (IBLOCK or DBLOCK)
  * @param block the (encrypted) block
  * @param block_size size of block (in bytes)
@@ -67,6 +68,7 @@ struct GNUNET_FS_TreeEncoder;
 typedef void (*GNUNET_FS_TreeBlockProcessor)(void *cls,
                                             const GNUNET_HashCode *query,
                                             uint64_t offset,
+                                            unsigned int depth,
                                             enum GNUNET_BLOCK_Type type,
                                             const void *block,
                                             uint16_t block_size);