aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_tree.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-05 21:01:12 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-05 21:01:12 +0000
commit0dfe519c70ef2c40c8f63499c521c0885af37cc2 (patch)
tree93ef6e3d939dc299d26479fc52d4bdbb590da830 /src/fs/fs_tree.h
parent9e645511bbd3775bd5c872eb5e58439676a59199 (diff)
downloadgnunet-0dfe519c70ef2c40c8f63499c521c0885af37cc2.tar.gz
gnunet-0dfe519c70ef2c40c8f63499c521c0885af37cc2.zip
towards having download
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r--src/fs/fs_tree.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fs/fs_tree.h b/src/fs/fs_tree.h
index 47d383fb5..4186a4e21 100644
--- a/src/fs/fs_tree.h
+++ b/src/fs/fs_tree.h
@@ -35,6 +35,16 @@
35#include "fs.h" 35#include "fs.h"
36 36
37/** 37/**
38 * Compute the depth of the CHK tree.
39 *
40 * @param flen file length for which to compute the depth
41 * @return depth of the tree
42 */
43unsigned int
44GNUNET_FS_compute_depth (uint64_t flen);
45
46
47/**
38 * Context for an ECRS-based file encoder that computes 48 * Context for an ECRS-based file encoder that computes
39 * the Merkle-ish-CHK tree. 49 * the Merkle-ish-CHK tree.
40 */ 50 */