dol: initial dol commit
[jump.git] / dol / examples / exampleproducerconsumer / src / producer.h
1 #ifndef PRODUCER_H
2 #define PRODUCER_H
3
4 #include <dol.h>
5
6 #define  PORT_OUTA "A"
7 #define  PORT_OUTB "B"
8
9 typedef struct _local_states {
10     int index;
11     int len;
12     char str[26];
13 } Producer_State;
14
15 void producer_init(DOLProcess *);
16 int producer_fire(DOLProcess *);
17
18 #endif