DD2-monitor/core/config.h

24 lines
398 B
C
Raw Normal View History

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