Revision 40 logic/trunk/src/init/devicelist.h

View differences:

devicelist.h
8 8
    int     readitv; //in seconds
9 9
    char    *action;
10 10
    char    *param;
11
    //d_bufr  *buf;
12 11
    int     buf;
13 12
    int     running;
14 13
    struct  device_d *nxt;
15 14
} device;
16 15

  
17
int setNewDeviceList(); // ony called on startup
18
int getNumberOfDevices();
16
int     setNewDeviceList(); // ony called on startup
17
int     getNumberOfDevices();
19 18
device *getDevice(device *dev, char *devName);
19
device *getDevice1(char *devName);
20
device *getDevice2(device *dev);
20 21
device *getAvailableDevice(device *dev);
22
int     getLocalFormattedTime();
21 23

  
22 24
/*
23 25
void updateDeviceList(device_d *deviceList); // called on HMI change

Also available in: Unified diff