bmsd/rdconfig.h@69fadd1aded2
bmsd/rdconfig.h
Tue, 26 Feb 2019 16:18:16 +0100
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Tue, 26 Feb 2019 16:18:16 +0100
- changeset 296
- 69fadd1aded2
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Updated design document. Add content header application/json to all scripts that produce json output. Chart prints show the beer code and name in the header. Charts don't display the menu anymore.
#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