dol: initial dol commit
[jump.git] / dol / examples / examplecell / src / consumer.h
diff --git a/dol/examples/examplecell/src/consumer.h b/dol/examples/examplecell/src/consumer.h
new file mode 100644 (file)
index 0000000..ca0fbba
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef CONSUMER_H
+#define CONSUMER_H
+
+#include <dol.h>
+#include "global.h"
+
+#define PORT_IN 100
+
+void consumer_init(DOLProcess *);
+int consumer_fire(DOLProcess *);
+
+typedef struct _local_states {
+    char name[10];
+    int index;
+    int len;
+    float c;
+} Consumer_State;
+
+#endif