diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-06 19:59:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-06 19:59:59 +0000 |
commit | 7db4f64461a77f19bb39f1b84d26f96e6acf40ab (patch) | |
tree | 7d2adef1cebe18d80806bba3d534e9a1e4a44ac6 /src/fs/fs.h | |
parent | 0ece77aca2114b6e5ec153477fccb43ceb807c77 (diff) | |
download | gnunet-7db4f64461a77f19bb39f1b84d26f96e6acf40ab.tar.gz gnunet-7db4f64461a77f19bb39f1b84d26f96e6acf40ab.zip |
allow file hashing cancellation -- and make use of it
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index d8e997324..bca8fc691 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -1408,6 +1408,11 @@ struct GNUNET_FS_UnindexContext | |||
1408 | char *emsg; | 1408 | char *emsg; |
1409 | 1409 | ||
1410 | /** | 1410 | /** |
1411 | * Context for hashing of the file. | ||
1412 | */ | ||
1413 | struct GNUNET_CRYPTO_FileHashContext *fhc; | ||
1414 | |||
1415 | /** | ||
1411 | * Overall size of the file. | 1416 | * Overall size of the file. |
1412 | */ | 1417 | */ |
1413 | uint64_t file_size; | 1418 | uint64_t file_size; |