summaryrefslogtreecommitdiff
path: root/auto.proto
diff options
context:
space:
mode:
Diffstat (limited to 'auto.proto')
-rw-r--r--auto.proto9
1 files changed, 5 insertions, 4 deletions
diff --git a/auto.proto b/auto.proto
index a44b63f..a19afa6 100644
--- a/auto.proto
+++ b/auto.proto
@@ -66,10 +66,11 @@ message MsgName {
string name = 1; // the name of the message aka struct. for this example: "Shelf"
string lockname = 2; // ShelfMU
bool doMarshal = 3; // if "Shelf" should have Marshal & Unmarshal functions
- bool doMutex = 4; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
- bool mutexFound = 5; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
- repeated string sort = 6; // "Book", "Picture", etc
- repeated string unique = 7; // if the fields should have AppendUnique() functions
+ bool doMutex = 4; // true if a mutex is needed for the message struct
+ bool doProtocMutex = 5; // an experiment to insert a mutex into the protoc generated msg struct (bad idea?)
+ bool mutexFound = 6; // true if the mutex was added to the protoc pb.go file
+ repeated string sort = 7; // "Book", "Picture", etc
+ repeated string unique = 8; // if the fields should have AppendUnique() functions
}
message File { // `autogenpb:nomarshal`