abroekhuis commented on a change in pull request #172: Refactor TcpAdmin and 
add interfacing for VectorIoSerialisation
URL: https://github.com/apache/celix/pull/172#discussion_r401555821
 
 

 ##########
 File path: bundles/pubsub/pubsub_spi/include/pubsub_protocol.h
 ##########
 @@ -28,39 +28,78 @@
 
 typedef struct pubsub_protocol_header pubsub_protocol_header_t;
 
+/**
+ * The protocol header structure, contains the information about the message 
payload and metadata
+ */
 struct pubsub_protocol_header {
-    unsigned int msgId;
-    unsigned short msgMajorVersion;
-    unsigned short msgMinorVersion;
-
-    unsigned int payloadSize;
-    unsigned int metadataSize;
+  /** message payload identification attributes */
+    unsigned int msgId; /*!< Message id of the payload */
 
 Review comment:
   Even so, I don't see much value in any kind of doc that just re-iterates 
what the member already specifies.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to