aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r--src/fs/fs_download.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c
index f43524553..e8b632a3f 100644
--- a/src/fs/fs_download.c
+++ b/src/fs/fs_download.c
@@ -1372,10 +1372,9 @@ transmit_download_request (void *cls, size_t size, void *buf)
1372 * Reconnect to the FS service and transmit our queries NOW. 1372 * Reconnect to the FS service and transmit our queries NOW.
1373 * 1373 *
1374 * @param cls our download context 1374 * @param cls our download context
1375 * @param tc unused
1376 */ 1375 */
1377static void 1376static void
1378do_reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 1377do_reconnect (void *cls)
1379{ 1378{
1380 struct GNUNET_FS_DownloadContext *dc = cls; 1379 struct GNUNET_FS_DownloadContext *dc = cls;
1381 struct GNUNET_CLIENT_Connection *client; 1380 struct GNUNET_CLIENT_Connection *client;
@@ -1625,10 +1624,9 @@ create_download_request (struct DownloadRequest *parent,
1625 * the current IBlock from the existing file. 1624 * the current IBlock from the existing file.
1626 * 1625 *
1627 * @param cls the 'struct ReconstructContext' 1626 * @param cls the 'struct ReconstructContext'
1628 * @param tc scheduler context
1629 */ 1627 */
1630static void 1628static void
1631reconstruct_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 1629reconstruct_cont (void *cls)
1632{ 1630{
1633 struct GNUNET_FS_DownloadContext *dc = cls; 1631 struct GNUNET_FS_DownloadContext *dc = cls;
1634 1632
@@ -1655,10 +1653,9 @@ reconstruct_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1655 * Task requesting the next block from the tree encoder. 1653 * Task requesting the next block from the tree encoder.
1656 * 1654 *
1657 * @param cls the 'struct GNUJNET_FS_DownloadContext' we're processing 1655 * @param cls the 'struct GNUJNET_FS_DownloadContext' we're processing
1658 * @param tc task context
1659 */ 1656 */
1660static void 1657static void
1661get_next_block (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 1658get_next_block (void *cls)
1662{ 1659{
1663 struct GNUNET_FS_DownloadContext *dc = cls; 1660 struct GNUNET_FS_DownloadContext *dc = cls;
1664 1661
@@ -1855,11 +1852,9 @@ fh_reader (void *cls, uint64_t offset, size_t max, void *buf, char **emsg)
1855 * request for the file. 1852 * request for the file.
1856 * 1853 *
1857 * @param cls the 'struct GNUNET_FS_DownloadContext' 1854 * @param cls the 'struct GNUNET_FS_DownloadContext'
1858 * @param tc scheduler context
1859 */ 1855 */
1860void 1856void
1861GNUNET_FS_download_start_task_ (void *cls, 1857GNUNET_FS_download_start_task_ (void *cls)
1862 const struct GNUNET_SCHEDULER_TaskContext *tc)
1863{ 1858{
1864 struct GNUNET_FS_DownloadContext *dc = cls; 1859 struct GNUNET_FS_DownloadContext *dc = cls;
1865 struct GNUNET_FS_ProgressInfo pi; 1860 struct GNUNET_FS_ProgressInfo pi;