Home | History | Annotate | Download | only in network_server
      1 // This defines protocol for a simple server that lists files.
      2 //
      3 // See also the nanopb-specific options in fileproto.options.
      4 
      5 message ListFilesRequest {
      6     optional string path = 1 [default = "/"];
      7 }
      8 
      9 message FileInfo {
     10     required uint64 inode = 1;
     11     required string name = 2;
     12 }
     13 
     14 message ListFilesResponse {
     15     optional bool path_error = 1 [default = false];
     16     repeated FileInfo file = 2;
     17 }
     18 
     19