From a904729ad2a51b7752d8f3f240b92c91f0fa4411 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 29 Sep 2015 20:36:36 +0300 Subject: protocol: split to multiple proto files --- protocol/misc.proto | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 protocol/misc.proto (limited to 'protocol/misc.proto') diff --git a/protocol/misc.proto b/protocol/misc.proto new file mode 100644 index 0000000..152c7f5 --- /dev/null +++ b/protocol/misc.proto @@ -0,0 +1,31 @@ +/* + Copyright © 2015 Gluzskiy Alexandr (sss) + + This file is part of Unknown Download Manager (UDM). + + UDM is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + + UDM is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with UDM. If not, see . + +*/ + + +message int_string_pair { + required int32 id = 1; + required string value = 2; +} + +message string_pair +{ + required string name = 1; + required string value = 2; +} -- cgit v1.2.3