Statistics
| Revision:

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

History | View | Annotate | Download (434 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
8
{
9
    int                     OPERATOR_TYPE;
10
    int                     value;
11
    struct  device_d        *dev;
12
    struct condition_list   *nxt_lst;
13
    struct condition_list   *sub_lst;
14
}cond_lst;
15

    
16
int getConditionsResult(cond_lst *cl);
17
#endif // CONDITIONS_H_INCLUDED