bmsd/rdconfig.h@36c72e368948
bmsd/rdconfig.h
Sat, 11 May 2019 16:55:41 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sat, 11 May 2019 16:55:41 +0200
- changeset 356
- 36c72e368948
- parent 0
-
033898178630
- permissions
- -rw-r--r--
Reduce inventory is now done in a cron job at moments when there are ingredients used. So the inventory should be uptodate at all times.
#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