[protobuf] Freeing memory for jdaf messages

2018-02-12 Thread Ashwin Kini
I have a generic query, I'm using protobuf in C. I have 2 daemons that need to talk to each other over google protobuf channel. Lets say i malloc a message on sender side, send it to protobuf functions. My understanding is i need to free it as i allocated it, once the call returns. How about

[protobuf] Tags and values

2018-01-22 Thread Ashwin Kini
Hi all, While defining messages can the *tags *be non continous? The documentation never mentions the same message abc { optional uint32 xyz = *100*; optional uint32 def = *200*; optional unit32 abc = *0xDEAD01*; } The documentation says it needs to be unique. Agreed. Can they be non