dol: initial dol commit
[jump.git] / dol / examples / example5 / src / consumer.h
1 #ifndef CONSUMER_H
2 #define CONSUMER_H
3
4 #include <dol.h>
5 #include "global.h"
6
7 #define PORT_OUTPUT_COEFFICIENTS "output_coefficients"
8
9 typedef struct _local_states
10 {
11   int index;
12   ComplexNumber coeffs[NUMBER_OF_FFT_POINTS];
13 } Consumer_State;
14
15 void consumer_init(DOLProcess *);
16 int consumer_fire(DOLProcess *);
17
18 #endif