diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-05 21:01:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-05 21:01:12 +0000 |
commit | 0dfe519c70ef2c40c8f63499c521c0885af37cc2 (patch) | |
tree | 93ef6e3d939dc299d26479fc52d4bdbb590da830 /src/fs/fs_tree.h | |
parent | 9e645511bbd3775bd5c872eb5e58439676a59199 (diff) | |
download | gnunet-0dfe519c70ef2c40c8f63499c521c0885af37cc2.tar.gz gnunet-0dfe519c70ef2c40c8f63499c521c0885af37cc2.zip |
towards having download
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r-- | src/fs/fs_tree.h | 10 |
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 | */ | ||
43 | unsigned int | ||
44 | GNUNET_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 | */ |