summaryrefslogtreecommitdiffstats
path: root/pyload/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-29 18:51:38 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-29 18:51:38 +0100
commit3401bcfd5ed57dec9e0f78553d627d7608170cb6 (patch)
treec36ac6fe4581379ed03f72409244aa40414b9580 /pyload/remote/pyload.thrift
parentfixed new waiting dl rule (diff)
downloadpyload-3401bcfd5ed57dec9e0f78553d627d7608170cb6.tar.xz
added connection flags to download status
Diffstat (limited to 'pyload/remote/pyload.thrift')
-rw-r--r--pyload/remote/pyload.thrift11
1 files changed, 9 insertions, 2 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift
index 9d400c4e2..8c85fbd00 100644
--- a/pyload/remote/pyload.thrift
+++ b/pyload/remote/pyload.thrift
@@ -129,6 +129,12 @@ enum ProgressType {
FileOperation = 32,
}
+enum Connection {
+ All = 0,
+ Resumable = 1,
+ Secure = 2,
+}
+
struct Input {
1: InputType type,
2: optional JSONString default_value,
@@ -139,7 +145,8 @@ struct DownloadProgress {
1: FileID fid,
2: PackageID pid,
3: ByteCount speed, // per second
- 4: DownloadStatus status,
+ 4: Connection conn,
+ 5: DownloadStatus status,
}
struct ProgressInfo {
@@ -315,7 +322,7 @@ struct AccountInfo {
9: bool premium,
10: bool activated,
11: bool shared,
- 13: list <ConfigItem> config,
+ 12: list <ConfigItem> config,
}
struct OnlineCheck {