bmsd/rdconfig.h@442d23455ae4
bmsd/rdconfig.h
Thu, 30 May 2019 23:00:20 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 30 May 2019 23:00:20 +0200
- changeset 384
- 442d23455ae4
- parent 0
-
033898178630
- permissions
- -rw-r--r--
The bms daemon now checks if a node went away of no data is received for 10 minutes.
#ifndef _RDCONFIG_H
#define _RDCONFIG_H
#define S(x) (x)?(x):"(null)"
typedef struct _key_list {
char *key;
int (*prc)(char **);
char **dest;
} key_list;
void killconfig(void);
int rdconfig(void);
int wrconfig(void);
#endif