dol: initial dol commit
[jump.git] / dol / examples / example4 / src / addmult.h
1 #ifndef ADDMULT_H
2 #define ADDMULT_H
3
4 #include <dol.h>
5
6 #define PORT_FACTOR1 "factor1"
7 #define PORT_FACTOR2 "factor2"
8 #define PORT_SUMMAND "summand"
9 #define PORT_SUM     "sum"
10
11 typedef struct _local_states
12 {
13   char id[14];
14   float sum;
15 } Addmult_State;
16
17 void addmult_init(DOLProcess *);
18 int addmult_fire(DOLProcess *);
19
20 #endif