aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_tree.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:51:21 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:51:21 +0000
commit6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (patch)
treeedbc42f37889069033e57da201fef242939a6e0f /src/fs/fs_tree.h
parent502af2167f7c218366666ca4944bd7cc54b5b19a (diff)
downloadgnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.tar.gz
gnunet-6fd3e715cae09fa6e657c96f1c6f9711ee51f42f.zip
indentation
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r--src/fs/fs_tree.h8
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 */
69size_t 69size_t GNUNET_FS_tree_calculate_block_size (uint64_t fsize, uint64_t offset,
70GNUNET_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 */
114typedef void (*GNUNET_FS_TreeProgressCallback) (void *cls, 113typedef 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);