Statistics
| Revision:

root / logic / trunk / src / logics / conditions.h @ 32

History | View | Annotate | Download (554 Bytes)

1
#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_leaf
8
{
9
    int                         OPERATOR_TYPE;
10
    int                         val;
11
    struct  condition_list_leaf *nxt;
12
    struct  device_d            *dev;
13
}cond_lst_leaf;
14

    
15
typedef struct condition_list
16
{
17
    int                         OPERATOR_TYPE;
18
    struct condition_list       *sub_lst;
19
    struct condition_list_leaf  *sub_leaf;
20
}cond_lst;
21

    
22
#endif // CONDITIONS_H_INCLUDED