travis-ci: Build C/C++/Python matrix
[apps/agl-service-can-low-level.git] / generator / proto / nanopb.proto
index a1b2493..b8671bb 100644 (file)
@@ -51,11 +51,17 @@ message NanoPBOptions {
   // accesses to variables.
   optional bool packed_struct = 5 [default = false];
   
+  // Add 'packed' attribute to generated enums.
+  optional bool packed_enum = 10 [default = false];
+  
   // Skip this message
   optional bool skip_message = 6 [default = false];
 
   // Generate oneof fields as normal optional fields instead of union.
   optional bool no_unions = 8 [default = false];
+
+  // integer type tag for a message
+  optional uint32 msgid = 9;
 }
 
 // Extensions to protoc 'Descriptor' type in order to define options