dol: initial dol commit
[jump.git] / dol / examples / exampleproducerconsumer / src / consumer.h
diff --git a/dol/examples/exampleproducerconsumer/src/consumer.h b/dol/examples/exampleproducerconsumer/src/consumer.h
new file mode 100644 (file)
index 0000000..47d5ebf
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef CONSUMER_H
+#define CONSUMER_H
+
+#include <dol.h>
+
+#define PORT_INA "A"
+#define PORT_INB "B"
+
+typedef struct _local_states {
+    char name[10];
+} Consumer_State;
+
+void consumer_init(DOLProcess *);
+int consumer_fire(DOLProcess *);
+
+#endif