diff options
Diffstat (limited to 'src/fs/fs_tree.h')
-rw-r--r-- | src/fs/fs_tree.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fs/fs_tree.h b/src/fs/fs_tree.h index b39a47cd3..56c32a390 100644 --- a/src/fs/fs_tree.h +++ b/src/fs/fs_tree.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "fs.h" | 35 | #include "fs.h" |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * Compute the depth of the CHK tree. | 38 | * Compute the depth of the CHK tree. |
39 | * | 39 | * |
40 | * @param flen file length for which to compute the depth | 40 | * @param flen file length for which to compute the depth |
41 | * @return depth of the tree, always > 0. A depth of 1 means only a DBLOCK. | 41 | * @return depth of the tree, always > 0. A depth of 1 means only a DBLOCK. |
@@ -133,7 +133,7 @@ typedef void (*GNUNET_FS_TreeProgressCallback) (void *cls, uint64_t offset, | |||
133 | * @param cls closure for reader, proc, progress and cont | 133 | * @param cls closure for reader, proc, progress and cont |
134 | * @param reader function to call to read plaintext data | 134 | * @param reader function to call to read plaintext data |
135 | * @param proc function to call on each encrypted block | 135 | * @param proc function to call on each encrypted block |
136 | * @param progress function to call with progress information | 136 | * @param progress function to call with progress information |
137 | * @param cont function to call when done | 137 | * @param cont function to call when done |
138 | * @return tree encoder context | 138 | * @return tree encoder context |
139 | */ | 139 | */ |
@@ -146,8 +146,8 @@ GNUNET_FS_tree_encoder_create (struct GNUNET_FS_Handle *h, uint64_t size, | |||
146 | 146 | ||
147 | 147 | ||
148 | /** | 148 | /** |
149 | * Encrypt the next block of the file (and | 149 | * Encrypt the next block of the file (and |
150 | * call proc and progress accordingly; or | 150 | * call proc and progress accordingly; or |
151 | * of course "cont" if we have already completed | 151 | * of course "cont" if we have already completed |
152 | * encoding of the entire file). | 152 | * encoding of the entire file). |
153 | * | 153 | * |
@@ -160,7 +160,7 @@ GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder *te); | |||
160 | /** | 160 | /** |
161 | * Clean up a tree encoder and return information | 161 | * Clean up a tree encoder and return information |
162 | * about the resulting URI or an error message. | 162 | * about the resulting URI or an error message. |
163 | * | 163 | * |
164 | * @param te the tree encoder to clean up | 164 | * @param te the tree encoder to clean up |
165 | * @param uri set to the resulting URI (if encoding finished) | 165 | * @param uri set to the resulting URI (if encoding finished) |
166 | * @param emsg set to an error message (if an error occured | 166 | * @param emsg set to an error message (if an error occured |
@@ -179,7 +179,7 @@ GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te, | |||
179 | /** | 179 | /** |
180 | * Get data that would be needed to resume | 180 | * Get data that would be needed to resume |
181 | * the encoding later. | 181 | * the encoding later. |
182 | * | 182 | * |
183 | * @param te encoding to resume | 183 | * @param te encoding to resume |
184 | * @param data set to the resume data | 184 | * @param data set to the resume data |
185 | * @param size set to the size of the resume data | 185 | * @param size set to the size of the resume data |
@@ -192,7 +192,7 @@ GNUNET_FS_tree_encoder_resume_get_data (const struct GNUNET_FS_TreeEncoder *te, | |||
192 | /** | 192 | /** |
193 | * Reset tree encoder to point previously | 193 | * Reset tree encoder to point previously |
194 | * obtained for resuming. | 194 | * obtained for resuming. |
195 | * | 195 | * |
196 | * @param te encoding to resume | 196 | * @param te encoding to resume |
197 | * @param data the resume data | 197 | * @param data the resume data |
198 | * @param size the size of the resume data | 198 | * @param size the size of the resume data |