summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018/eventqueue.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@wirdorange.org>2013-02-06 23:07:52 +0000
committerOthmar Gsenger <otti@wirdorange.org>2013-02-06 23:07:52 +0000
commit3bbffdfdc971bb310dbd19d76a7eb832ed671d50 (patch)
tree93870034a21e403b49e9b450888a491fb55b84a2 /usb-i2c-sl018/eventqueue.h
parentadded event queue (diff)
basic eventqueue
git-svn-id: https://svn.spreadspace.org/avr/trunk@147 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-i2c-sl018/eventqueue.h')
-rw-r--r--usb-i2c-sl018/eventqueue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usb-i2c-sl018/eventqueue.h b/usb-i2c-sl018/eventqueue.h
index 865fa05..bd60581 100644
--- a/usb-i2c-sl018/eventqueue.h
+++ b/usb-i2c-sl018/eventqueue.h
@@ -24,5 +24,10 @@
#ifndef R3TUER_eventqueue_h_INCLUDED
#define R3TUER_eventqueue_h_INCLUDED
+typedef enum { none } event_t;
+
+void eventqueue_init(void);
+event_t eventqueue_pop(void);
+void eventqueue_push(event_t);
#endif