summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-02-03 16:44:47 +0200
committerAlon Levy <alevy@redhat.com>2011-02-03 16:44:47 +0200
commitf1d3294fd3ca5f21693d7389238ab5484f329628 (patch)
treeaf88025ac5a1f0e3cdcb2655fe60886b29caddbc
parente71390c0ca957f99a52168e54662f0506d7f4314 (diff)
vscard_common.h: define VSCARD_MAGIC
-rw-r--r--vscard_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vscard_common.h b/vscard_common.h
index e88616b..a1af430 100644
--- a/vscard_common.h
+++ b/vscard_common.h
@@ -64,6 +64,8 @@ typedef enum {
typedef uint32_t reader_id_t;
+#define VSCARD_MAGIC (*(uint32_t*)"VSCD")
+
typedef struct VSCMsgHeader {
VSCMsgType type;
reader_id_t reader_id;