bmsd/rdconfig.h@041af8a82d77
bmsd/rdconfig.h
Fri, 28 Dec 2018 23:18:42 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Fri, 28 Dec 2018 23:18:42 +0100
- changeset 155
- 041af8a82d77
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Some pH calculations cane use twice as much loops, probably because we have better float precision then the original pascal code. More variables to prevent html reads. Use predicted mash pH (the grist in demi water) to calculate the pH shift from the tapwater to the target pH. It's better but not right yet. Or it is right and brouwhulp is far off.
#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