dol: initial dol commit
[jump.git] / dol / examples / example3 / src / horizontal_generator.h
diff --git a/dol/examples/example3/src/horizontal_generator.h b/dol/examples/example3/src/horizontal_generator.h
new file mode 100644 (file)
index 0000000..fdc8a3c
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef PRODUCER_H
+#define PRODUCER_H
+
+#include <dol.h>
+
+#define PORT_OUT "h_out"
+
+typedef struct _local_states {
+    int index;
+    char str[25];
+    int len;
+} Horizontal_generator_State;
+
+void horizontal_generator_init(DOLProcess *);
+int horizontal_generator_fire(DOLProcess *);
+
+#endif