bmsd/rdconfig.h

Thu, 31 Oct 2019 15:57:49 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 31 Oct 2019 15:57:49 +0100
changeset 547
4d9c96545246
parent 0
033898178630
permissions
-rw-r--r--

Don't log co2pressure for units that have an empty beer_code or beer_name.

#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