aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_tree.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/fs/fs_tree.c
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r--src/fs/fs_tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c
index 58d0f0127..60e80efbb 100644
--- a/src/fs/fs_tree.c
+++ b/src/fs/fs_tree.c
@@ -100,7 +100,7 @@ struct GNUNET_FS_TreeEncoder
100 * In-memory cache of the current CHK tree. 100 * In-memory cache of the current CHK tree.
101 * This struct will contain the CHK values 101 * This struct will contain the CHK values
102 * from the root to the currently processed 102 * from the root to the currently processed
103 * node in the tree as identified by 103 * node in the tree as identified by
104 * "current_depth" and "publish_offset". 104 * "current_depth" and "publish_offset".
105 * The "chktree" will be initially NULL, 105 * The "chktree" will be initially NULL,
106 * then allocated to a sufficient number of 106 * then allocated to a sufficient number of
@@ -176,8 +176,8 @@ GNUNET_FS_tree_compute_tree_size (unsigned int depth)
176 * 176 *
177 * @param depth depth of the IBlock in the tree, 0 would be a DBLOCK, 177 * @param depth depth of the IBlock in the tree, 0 would be a DBLOCK,
178 * must be > 0 (this function is for IBLOCKs only!) 178 * must be > 0 (this function is for IBLOCKs only!)
179 * @param end_offset current offset in the payload (!) of the overall file, 179 * @param end_offset current offset in the payload (!) of the overall file,
180 * must be > 0 (since this function is called at the 180 * must be > 0 (since this function is called at the
181 * end of a block). 181 * end of a block).
182 * @return size of the corresponding IBlock 182 * @return size of the corresponding IBlock
183 */ 183 */
@@ -264,7 +264,7 @@ GNUNET_FS_tree_calculate_block_size (uint64_t fsize, uint64_t offset,
264 * @param cls closure for reader, proc, progress and cont 264 * @param cls closure for reader, proc, progress and cont
265 * @param reader function to call to read plaintext data 265 * @param reader function to call to read plaintext data
266 * @param proc function to call on each encrypted block 266 * @param proc function to call on each encrypted block
267 * @param progress function to call with progress information 267 * @param progress function to call with progress information
268 * @param cont function to call when done 268 * @param cont function to call when done
269 */ 269 */
270struct GNUNET_FS_TreeEncoder * 270struct GNUNET_FS_TreeEncoder *
@@ -298,7 +298,7 @@ GNUNET_FS_tree_encoder_create (struct GNUNET_FS_Handle *h, uint64_t size,
298 * 298 *
299 * @param depth depth of the IBlock in the tree (aka overall 299 * @param depth depth of the IBlock in the tree (aka overall
300 * number of tree levels minus depth); 0 == DBlock 300 * number of tree levels minus depth); 0 == DBlock
301 * @param end_offset current offset in the overall file, 301 * @param end_offset current offset in the overall file,
302 * at the *beginning* of the block for DBLOCKs (depth==0), 302 * at the *beginning* of the block for DBLOCKs (depth==0),
303 * otherwise at the *end* of the block (exclusive) 303 * otherwise at the *end* of the block (exclusive)
304 * @return (array of CHKs') offset in the above IBlock 304 * @return (array of CHKs') offset in the above IBlock
@@ -421,7 +421,7 @@ GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder *te)
421/** 421/**
422 * Clean up a tree encoder and return information 422 * Clean up a tree encoder and return information
423 * about the resulting URI or an error message. 423 * about the resulting URI or an error message.
424 * 424 *
425 * @param te the tree encoder to clean up 425 * @param te the tree encoder to clean up
426 * @param uri set to the resulting URI (if encoding finished) 426 * @param uri set to the resulting URI (if encoding finished)
427 * @param emsg set to an error message (if an error occured 427 * @param emsg set to an error message (if an error occured