diff options
-rw-r--r-- | protocol/auth.proto | 2 | ||||
-rw-r--r-- | protocol/core.proto | 2 | ||||
-rw-r--r-- | protocol/download.proto | 2 | ||||
-rw-r--r-- | protocol/events.proto | 2 | ||||
-rw-r--r-- | protocol/misc.proto | 2 | ||||
-rw-r--r-- | protocol/module.proto | 2 | ||||
-rw-r--r-- | protocol/settings.proto | 2 | ||||
-rw-r--r-- | protocol/udm.proto | 2 | ||||
-rw-r--r-- | protocol/ui.proto | 2 |
9 files changed, 18 insertions, 0 deletions
diff --git a/protocol/auth.proto b/protocol/auth.proto index d77bde4..fbb6b49 100644 --- a/protocol/auth.proto +++ b/protocol/auth.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + enum PASSWD_HASH_TYPE { HASH_NONE = 0; HASH_MD5 = 1; diff --git a/protocol/core.proto b/protocol/core.proto index bc93902..202909e 100644 --- a/protocol/core.proto +++ b/protocol/core.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + import "settings.proto"; message core_info //core info for client currently for editable server settings, server version and proto version only diff --git a/protocol/download.proto b/protocol/download.proto index c043bfe..84461c3 100644 --- a/protocol/download.proto +++ b/protocol/download.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + import "misc.proto"; import "events.proto"; diff --git a/protocol/events.proto b/protocol/events.proto index 3d9d03d..6181fbf 100644 --- a/protocol/events.proto +++ b/protocol/events.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + import "ui.proto"; diff --git a/protocol/misc.proto b/protocol/misc.proto index dd0a7b9..af6e412 100644 --- a/protocol/misc.proto +++ b/protocol/misc.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + message int_string_pair { required int32 id = 1; diff --git a/protocol/module.proto b/protocol/module.proto index 3e94dc7..9bf291d 100644 --- a/protocol/module.proto +++ b/protocol/module.proto @@ -18,6 +18,8 @@ */ +syntax = "proto2"; + import "settings.proto"; import "ui.proto"; import "misc.proto"; diff --git a/protocol/settings.proto b/protocol/settings.proto index e66b329..b61f80d 100644 --- a/protocol/settings.proto +++ b/protocol/settings.proto @@ -24,6 +24,8 @@ //settings common proto part begin +syntax = "proto2"; + message setting_info { optional string default_value = 1 [default = "empty"]; optional string minimal_value = 2 [default = "not set"]; diff --git a/protocol/udm.proto b/protocol/udm.proto index bc0eac1..1a335a8 100644 --- a/protocol/udm.proto +++ b/protocol/udm.proto @@ -20,6 +20,8 @@ //TODO: write readable proto description +syntax = "proto2"; + import "ui.proto"; import "events.proto"; import "download.proto"; diff --git a/protocol/ui.proto b/protocol/ui.proto index 2a215cc..dc91b7c 100644 --- a/protocol/ui.proto +++ b/protocol/ui.proto @@ -20,6 +20,8 @@ //ui common proto part begin +syntax = "proto2"; + enum MODULE_UI_ELEMENT_TYPE { UI_EMPTY = 0; //helper type to set empty element UI_STR = 1; //ui elements containing strings |