Move examples into subfolders, add READMEs

This commit is contained in:
Petteri Aimonen
2013-09-13 12:59:31 +03:00
parent fd9a79a06d
commit f47410ea4b
24 changed files with 187 additions and 55 deletions

View File

@@ -0,0 +1,18 @@
// This defines protocol for a simple server that lists files.
//
// See also the nanopb-specific options in fileproto.options.
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;
}