projects
/
jump.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dol: add support for iterated ports and processes
[jump.git]
/
dol
/
examples
/
example3
/
src
/
forward.h
1
#ifndef FORWARD_H
2
#define FORWARD_H
3
4
#include <dol.h>
5
6
#define PORT_IN1 "west"
7
#define PORT_IN2 "north"
8
#define PORT_OUT1 "east"
9
#define PORT_OUT2 "south"
10
11
typedef struct _local_states {
12
char name[20];
13
} Forward_State;
14
15
void forward_init(DOLProcess *);
16
int forward_fire(DOLProcess *);
17
18
#endif