]> git.itanic.dy.fi Git - log-plotter/blob - config.h
9f817fc7166d88aac450c34920e50bf69b6b370c
[log-plotter] / config.h
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
3
4 struct plotter_config {
5         char *charger_name;
6
7         char *plotter_scripts_dir;
8         char *images_output_dir;
9
10         char *device_path;
11         int baudrate;
12         char *log_path;
13 };
14
15 int populate_config_data_from_file(const char *path,
16                                 struct plotter_config *cfg);
17
18 #endif