bmsd/rdconfig.h@3be8c2278fd7
bmsd/rdconfig.h
Sat, 11 May 2019 23:13:40 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sat, 11 May 2019 23:13:40 +0200
- changeset 358
- 3be8c2278fd7
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Added flags for each ingredient group for the supplies state. On the main screen show the state of the supplies if the product stage is not yet packaged. Calculate the state of the supplies for fermentables, hops, yeasts and miscs. In the grids don't show the inventory values after they are used and reduced. On the fermentables tab show the weight of the grains to mash.
#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