diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-30 12:02:06 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-30 12:02:06 +0300 |
commit | 12eba4d75931c5e48dac70b1a7dbad7861d059df (patch) | |
tree | c230a3fa7e9dd22e354a7c86d5aa2f3ba1ebe95c /server/include/api_module_downloader.h | |
parent | 04cbe5f2816f75c84738c35703df2e3671ab0ee8 (diff) |
protocol:
more download related structures (synced with api)
server:
api:
get_download instead of get_download_info
core:
added settings values to SERVER_CORE_INFO_REPLY
curl_module:
sync with api changes
Diffstat (limited to 'server/include/api_module_downloader.h')
-rw-r--r-- | server/include/api_module_downloader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/include/api_module_downloader.h b/server/include/api_module_downloader.h index d980d62..dbe0d14 100644 --- a/server/include/api_module_downloader.h +++ b/server/include/api_module_downloader.h @@ -92,7 +92,7 @@ public: virtual bool delete_download(int download_id, bool delete_data = false) = 0; //delete download by id received via add_download, if "delete_data" is set, also remove all downloaded data from storage, return true on success, false otherwise virtual bool execute_action_on_download(int download_id, int action_id) = 0; //execute module defined action on download, by id received via add_download virtual std::list<download_s> get_downloads(std::map<int, std::string> params = std::map<int, std::string>()) = 0; //this function must return list of downloads, additional options may be passed via params map - virtual download_s get_download_info(int download_id, std::map<int, std::string> params = std::map<int, std::string>()) = 0; //same as above, except this one is for single download, not a complete list + virtual download_s get_download(int download_id, std::map<int, std::string> params = std::map<int, std::string>()) = 0; //same as above, except this one is for single download, not a complete list protected: downloader_module_info info; }; |