mirror of
https://github.com/google/pebble.git
synced 2025-06-12 12:43:13 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
20
third_party/nanopb/examples/network_server/fileproto.proto
vendored
Normal file
20
third_party/nanopb/examples/network_server/fileproto.proto
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
// This defines protocol for a simple server that lists files.
|
||||
//
|
||||
// See also the nanopb-specific options in fileproto.options.
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
message ListFilesRequest {
|
||||
optional string path = 1 [default = "/"];
|
||||
}
|
||||
|
||||
message FileInfo {
|
||||
required uint64 inode = 1;
|
||||
required string name = 2;
|
||||
}
|
||||
|
||||
message ListFilesResponse {
|
||||
optional bool path_error = 1 [default = false];
|
||||
repeated FileInfo file = 2;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue