diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-17 07:40:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-17 07:40:54 +0000 |
commit | 19b03a205ed83f6a1d4d9178b20969032d569212 (patch) | |
tree | db0219f2e106d29fe5cb5c18e39df6782dd82e9a /src/fs/fs.h | |
parent | 5cb2c469b505215e9cdd36c8e152e6db49f03c61 (diff) | |
download | gnunet-19b03a205ed83f6a1d4d9178b20969032d569212.tar.gz gnunet-19b03a205ed83f6a1d4d9178b20969032d569212.zip |
fixing block reconstruction start/shutdown code
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 6e6d0dd8e..e655a3e57 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -1683,6 +1683,12 @@ struct DownloadRequest | |||
1683 | 1683 | ||
1684 | 1684 | ||
1685 | /** | 1685 | /** |
1686 | * Closure for 'reconstruct_cont' and 'reconstruct_cb'. | ||
1687 | */ | ||
1688 | struct ReconstructContext; | ||
1689 | |||
1690 | |||
1691 | /** | ||
1686 | * Context for controlling a download. | 1692 | * Context for controlling a download. |
1687 | */ | 1693 | */ |
1688 | struct GNUNET_FS_DownloadContext | 1694 | struct GNUNET_FS_DownloadContext |
@@ -1726,6 +1732,11 @@ struct GNUNET_FS_DownloadContext | |||
1726 | struct GNUNET_FS_DownloadContext *child_tail; | 1732 | struct GNUNET_FS_DownloadContext *child_tail; |
1727 | 1733 | ||
1728 | /** | 1734 | /** |
1735 | * State for block reconstruction. | ||
1736 | */ | ||
1737 | struct ReconstructContext *rcc; | ||
1738 | |||
1739 | /** | ||
1729 | * Previous download belonging to the same parent. | 1740 | * Previous download belonging to the same parent. |
1730 | */ | 1741 | */ |
1731 | struct GNUNET_FS_DownloadContext *prev; | 1742 | struct GNUNET_FS_DownloadContext *prev; |