bmsd/rdconfig.h@16079aef4c4c
bmsd/rdconfig.h
Thu, 12 Oct 2023 14:19:46 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 12 Oct 2023 14:19:46 +0200
- changeset 849
- 16079aef4c4c
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Version 0.3.44. Moved iSpindel Plato calculation from the php script to bmsd. This uses calibration data in the mon_ispindels table. Setup of this data will be done by the bmsapp applications. Default settings are stored in MySQL. From now on you don't need to store calibration data in the iSpindel.
#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