/* */ #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; const std::vector& listRequestOptions(); #ifdef ENABLE_BITTORRENT // Create RequestGroup object using torrent file specified by // torrent-file option. If non-empty torrentData is specified, then // it is used as a content of torrent file instead. In this function, // force-sequential is ignored. void createRequestGroupForBitTorrent (std::deque >& result, const SharedHandle