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-18 17:09:15 +01:00
char *input_device;
2019-01-22 17:23:11 +01:00
int input_speed;
} Configuration;
/* ---------------------------------------------------------------- */
2019-01-22 17:23:11 +01:00
int set_default_config(Configuration *cfg);
int parse_config(char *fname, int flags);
int show_config(char *title);
/* ---------------------------------------------------------------- */