summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-31 16:46:16 +0200
committerAlon Levy <alevy@redhat.com>2011-02-03 16:54:27 +0200
commit2d16e04ad80ed8b264f55036a0acc5b6e1520f0e (patch)
tree04d2afb4dbda4009521e96d2ea0927cfb7a7a78b
parent24e51cd3e8bed3e948ef07e438755bd132ddbdd9 (diff)
vscard_common: Header comment updated
-rw-r--r--vscard_common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/vscard_common.h b/vscard_common.h
index b78f487..cd79ca3 100644
--- a/vscard_common.h
+++ b/vscard_common.h
@@ -79,8 +79,11 @@ typedef uint32_t reader_id_t;
#define VSCARD_MAGIC (*(uint32_t*)"VSCD")
/* Header
- * Each message starts with the header. The reader_id
- * value is only relevant
+ * Each message starts with the header.
+ * type - message type
+ * reader_id - used by messages that are reader specific
+ * length - length of payload (not including header, i.e. zero for
+ * messages containing empty payloads)
*/
typedef struct VSCMsgHeader {
uint32_t type;