Sat, 01 Dec 2018 22:24:46 +0100
Renamed some fields in prod_main to prevent ambigous names with the join. Delete product also deletes the corresponding recipe. Fixed equipment load and save. Read data from the product main joined with prod_recipes completed. The brewday page is now almost complete, the calculations must be added.
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 |