summaryrefslogtreecommitdiffstats
path: root/module/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-10 17:53:25 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-10 17:53:25 +0100
commit6750a9481f44c55252d72b3c791f5efbcaeae71c (patch)
tree90011b409c2e1f2103c7b505a013600a2ddd9840 /module/remote/pyload.thrift
parentcaptcha trader fix (diff)
downloadpyload-6750a9481f44c55252d72b3c791f5efbcaeae71c.tar.xz
cleanup
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r--module/remote/pyload.thrift26
1 files changed, 3 insertions, 23 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift
index 413a841d7..4fb054cd1 100644
--- a/module/remote/pyload.thrift
+++ b/module/remote/pyload.thrift
@@ -28,26 +28,6 @@ enum Destination {
Collector
}
-enum CaptchaStatus {
- Init,
- Waiting,
- User,
- SharedUser,
- Done
-}
-
-enum ConfigItemType {
- String,
- Password,
- Choice,
- Bool,
- Integer,
- IP,
- File,
- Folder,
- Time
-}
-
enum ElementType {
Package,
File
@@ -95,7 +75,7 @@ struct ConfigItem {
1: string name,
2: string description,
3: string value,
- 4: ConfigItemType type,
+ 4: string type,
5: optional set<string> choice
}
@@ -133,7 +113,7 @@ struct PackageData {
}
struct CaptchaTask {
- 1: TaskID tid,
+ 1: i16 tid,
2: binary data,
3: string type
}
@@ -222,7 +202,7 @@ service Pyload {
//captcha
bool isCaptchaWaiting(),
CaptchaTask getCaptchaTask(1: bool exclusive),
- CaptchaStatus getCaptchaTaskStatus(1: TaskID tid),
+ string getCaptchaTaskStatus(1: TaskID tid),
void setCaptchaResult(1: TaskID tid, 2: string result),
//events