Tue, 29 Jan 2019 21:52:08 +0100
Recipes import uses indexes instead of strings. Started rebuilding the recipes editor using indexes and standard formats. Rebuild the fermentable editor from grid editing to popup editing. Most calculations are using indexes for dropdown values.
0 | 1 | #ifndef _RDCONFIG_H |
2 | #define _RDCONFIG_H | |
3 | ||
4 | #define S(x) (x)?(x):"(null)" | |
5 | ||
6 | typedef struct _key_list { | |
7 | char *key; | |
8 | int (*prc)(char **); | |
9 | char **dest; | |
10 | } key_list; | |
11 | ||
12 | ||
13 | void killconfig(void); | |
14 | int rdconfig(void); | |
15 | int wrconfig(void); | |
16 | ||
17 | ||
18 | #endif |