root / logic / trunk / src / logics / conditions.h @ 36
History | View | Annotate | Download (434 Bytes)
1 | 32 | Janez1 | #ifndef CONDITIONS_H_INCLUDED
|
---|---|---|---|
2 | #define CONDITIONS_H_INCLUDED
|
||
3 | |||
4 | #include "../logics/operators.h" |
||
5 | #include "../init/devicelist.h" |
||
6 | |||
7 | typedef struct condition_list |
||
8 | { |
||
9 | 36 | Janez1 | int OPERATOR_TYPE;
|
10 | int value;
|
||
11 | struct device_d *dev;
|
||
12 | struct condition_list *nxt_lst;
|
||
13 | struct condition_list *sub_lst;
|
||
14 | 32 | Janez1 | }cond_lst; |
15 | 36 | Janez1 | |
16 | int getConditionsResult(cond_lst *cl);
|
||
17 | 32 | Janez1 | #endif // CONDITIONS_H_INCLUDED |