bmsd/rdconfig.h

Sat, 08 Dec 2018 15:01:23 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 08 Dec 2018 15:01:23 +0100
changeset 129
7f41b61c3faf
parent 0
033898178630
permissions
-rw-r--r--

Added a loader during recipe load. Recalculate percentages if a fermentable row is deleted. Don't edit amounts if using weight percentages. Update grid percentages if a fermentable amount is changed. Recalculate IBU's after changes with fermentables.

#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

mercurial