diff options
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r-- | src/fs/fs_tree.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fs/fs_tree.h b/src/fs/fs_tree.h index c2b7de48c..532c9e9aa 100644 --- a/src/fs/fs_tree.h +++ b/src/fs/fs_tree.h | |||
@@ -66,9 +66,8 @@ uint64_t GNUNET_FS_tree_compute_tree_size (unsigned int depth); | |||
66 | * @param depth depth of the node in the tree, 0 for DBLOCK | 66 | * @param depth depth of the node in the tree, 0 for DBLOCK |
67 | * @return number of bytes stored in this node | 67 | * @return number of bytes stored in this node |
68 | */ | 68 | */ |
69 | size_t | 69 | size_t GNUNET_FS_tree_calculate_block_size (uint64_t fsize, uint64_t offset, |
70 | GNUNET_FS_tree_calculate_block_size (uint64_t fsize, | 70 | unsigned int depth); |
71 | uint64_t offset, unsigned int depth); | ||
72 | 71 | ||
73 | 72 | ||
74 | /** | 73 | /** |
@@ -111,8 +110,7 @@ typedef void (*GNUNET_FS_TreeBlockProcessor) (void *cls, | |||
111 | * @param pt_size size of pt_block | 110 | * @param pt_size size of pt_block |
112 | * @param depth depth of the block in the tree, 0 for DBLOCKS | 111 | * @param depth depth of the block in the tree, 0 for DBLOCKS |
113 | */ | 112 | */ |
114 | typedef void (*GNUNET_FS_TreeProgressCallback) (void *cls, | 113 | typedef void (*GNUNET_FS_TreeProgressCallback) (void *cls, uint64_t offset, |
115 | uint64_t offset, | ||
116 | const void *pt_block, | 114 | const void *pt_block, |
117 | size_t pt_size, | 115 | size_t pt_size, |
118 | unsigned int depth); | 116 | unsigned int depth); |