/* */ #ifndef D_DOWNLOAD_HELPER_H #define D_DOWNLOAD_HELPER_H #include "common.h" #include #include #include #include "SharedHandle.h" namespace aria2 { class RequestGroup; class Option; class MetadataInfo; class DownloadContext; class UriListParser; class ValueBase; #ifdef ENABLE_BITTORRENT // Create RequestGroup object using torrent file specified by // metaInfoUri, which is treated as local file path. If non-empty // torrentData is specified, then it is used as a content of torrent // file instead. If adjustAnnounceUri is true, announce URIs are // adjusted using bittorrent::adjustAnnounceUri(). In this function, // force-sequential is ignored. void createRequestGroupForBitTorrent (std::vector >& result, const SharedHandle