2019-01-17 19:07:47 +11:00
|
|
|
/*
|
|
|
|
* config.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SZ_STRINGS 200
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
|
|
|
int valid;
|
|
|
|
|
2019-01-19 03:09:15 +11:00
|
|
|
char *input_device;
|
2019-01-17 19:07:47 +11:00
|
|
|
|
|
|
|
|
|
|
|
} Configuration;
|
|
|
|
|
|
|
|
/* ---------------------------------------------------------------- */
|
|
|
|
|
|
|
|
int parse_config(char *fname, int flags);
|
|
|
|
int show_config(char *title);
|
|
|
|
|
|
|
|
/* ---------------------------------------------------------------- */
|