diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-01-20 14:20:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-01-20 14:20:30 +0000 |
commit | c9432075d84d3c50171367e7d648a3a09f431994 (patch) | |
tree | 816f97d3601f6f255354267225c3b43b076fdac7 /src/fs/fs_unindex.c | |
parent | 81dfe20c8ee82d202244766f2914683a63d078ca (diff) | |
download | gnunet-c9432075d84d3c50171367e7d648a3a09f431994.tar.gz gnunet-c9432075d84d3c50171367e7d648a3a09f431994.zip |
major rewrite of fs_download, hopefully fixing 1641
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r-- | src/fs/fs_unindex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index aa73bc01d..c4360a82d 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -114,7 +114,7 @@ GNUNET_FS_unindex_make_status_ (struct GNUNET_FS_ProgressInfo *pi, | |||
114 | * @param offset where are we in the file | 114 | * @param offset where are we in the file |
115 | * @param pt_block plaintext of the currently processed block | 115 | * @param pt_block plaintext of the currently processed block |
116 | * @param pt_size size of pt_block | 116 | * @param pt_size size of pt_block |
117 | * @param depth depth of the block in the tree | 117 | * @param depth depth of the block in the tree, 0 for DBLOCK |
118 | */ | 118 | */ |
119 | static void | 119 | static void |
120 | unindex_progress (void *cls, | 120 | unindex_progress (void *cls, |
@@ -188,16 +188,16 @@ process_cont (void *cls, | |||
188 | * or (on error) "GNUNET_FS_tree_encode_finish". | 188 | * or (on error) "GNUNET_FS_tree_encode_finish". |
189 | * | 189 | * |
190 | * @param cls closure | 190 | * @param cls closure |
191 | * @param query the query for the block (key for lookup in the datastore) | 191 | * @param chk content hash key for the block (key for lookup in the datastore) |
192 | * @param offset offset of the block | 192 | * @param offset offset of the block |
193 | * @param depth depth of the block | 193 | * @param depth depth of the block, 0 for DBLOCK |
194 | * @param type type of the block (IBLOCK or DBLOCK) | 194 | * @param type type of the block (IBLOCK or DBLOCK) |
195 | * @param block the (encrypted) block | 195 | * @param block the (encrypted) block |
196 | * @param block_size size of block (in bytes) | 196 | * @param block_size size of block (in bytes) |
197 | */ | 197 | */ |
198 | static void | 198 | static void |
199 | unindex_process (void *cls, | 199 | unindex_process (void *cls, |
200 | const GNUNET_HashCode *query, | 200 | const struct ContentHashKey *chk, |
201 | uint64_t offset, | 201 | uint64_t offset, |
202 | unsigned int depth, | 202 | unsigned int depth, |
203 | enum GNUNET_BLOCK_Type type, | 203 | enum GNUNET_BLOCK_Type type, |
@@ -226,7 +226,7 @@ unindex_process (void *cls, | |||
226 | "Sending REMOVE request to DATASTORE service\n"); | 226 | "Sending REMOVE request to DATASTORE service\n"); |
227 | #endif | 227 | #endif |
228 | GNUNET_DATASTORE_remove (uc->dsh, | 228 | GNUNET_DATASTORE_remove (uc->dsh, |
229 | query, | 229 | &chk->query, |
230 | size, | 230 | size, |
231 | data, | 231 | data, |
232 | -2, 1, | 232 | -2, 1, |