bmsd/rdconfig.h@107c12c3e49d
bmsd/rdconfig.h
Thu, 15 Nov 2018 22:22:51 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 15 Nov 2018 22:22:51 +0100
- changeset 96
- 107c12c3e49d
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Renamed estimate_og() to estimate_sg() formula. Updated the formulas in javascript. The calcFermenter() function now only calculates the gravities. The colors still need to be added. When a recept is loaded in the editor, all tabs are selected once to load all subgrid data. Ugly and slow but it at least it works.
#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