22 lines
373 B
C
22 lines
373 B
C
#ifndef cfgreader_H
|
|
#define cfgreader_H
|
|
|
|
|
|
typedef struct sensornode {
|
|
char ip[50];
|
|
int isoutside; //Inside = 0; outside = 1
|
|
struct sensornode *next;
|
|
} sensornode;
|
|
|
|
|
|
|
|
void cfginit(void);
|
|
void cfgdestroy(void);
|
|
void cfgreinit(void);
|
|
int cfgreadpinnumber(int element);
|
|
int cfgreadpinamount(void);
|
|
int cfgreadsensornodes(sensornode *nodes, int nodecount);
|
|
|
|
|
|
#endif
|