bmsd/rdconfig.h@850e82c1021d
bmsd/rdconfig.h
Wed, 04 Dec 2019 21:52:37 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Wed, 04 Dec 2019 21:52:37 +0100
- changeset 560
- 850e82c1021d
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Switched FG calculations from Brix to the new cubic method from http://seanterrill.com. This includes the brix correction factor and seems better then the Brouwhulp formula.
#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