summaryrefslogtreecommitdiff
path: root/eventt.h
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2010-07-28 20:09:28 +0300
committerAlon Levy <alevy@redhat.com>2010-07-28 20:09:28 +0300
commitf8d3142a14d79ed183ba970419f188d35f62e9cc (patch)
tree0a5a8f960498c5d8e28dba91293c149564445c6f /eventt.h
initial
Diffstat (limited to 'eventt.h')
-rw-r--r--eventt.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/eventt.h b/eventt.h
new file mode 100644
index 0000000..82dbdac
--- /dev/null
+++ b/eventt.h
@@ -0,0 +1,27 @@
+/*
+ *
+ */
+
+#ifndef EVENTT_H
+#define EVENTT_H 1
+#include "vreadert.h"
+#include "vcardt.h"
+
+typedef struct EventStruct Event;
+
+typedef enum {
+ EVENT_READER_INSERT,
+ EVENT_READER_REMOVE,
+ EVENT_CARD_INSERT,
+ EVENT_CARD_REMOVE
+} EventType;
+
+struct EventStruct {
+ Event *next;
+ EventType type;
+ VReader *reader;
+ VCard *card;
+};
+#endif
+
+