Add 'CAN-binder/libs/nanopb/' from commit '278ffb890e3d8722e4c7d824baaf221a1e375fc4'
[apps/agl-service-can-low-level.git] / CAN-binder / libs / nanopb / examples / network_server / fileproto.proto
1 // This defines protocol for a simple server that lists files.
2 //
3 // See also the nanopb-specific options in fileproto.options.
4
5 syntax = "proto2";
6
7 message ListFilesRequest {
8     optional string path = 1 [default = "/"];
9 }
10
11 message FileInfo {
12     required uint64 inode = 1;
13     required string name = 2;
14 }
15
16 message ListFilesResponse {
17     optional bool path_error = 1 [default = false];
18     repeated FileInfo file = 2;
19 }
20