21 lines
325 B
C
21 lines
325 B
C
#ifndef cfgreader_H
|
|
#define cfgreader_H
|
|
|
|
|
|
typedef struct sensornode {
|
|
char *ip;
|
|
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
|