X-Git-Url: http://git.itanic.dy.fi/?p=log-plotter;a=blobdiff_plain;f=config.h;fp=config.h;h=37437ea1a52cdf4f262577387c60fe3216e5a11e;hp=9f817fc7166d88aac450c34920e50bf69b6b370c;hb=1c1f69155571479f903195eea242f0de4d96cb05;hpb=807425ca03229203471d2733e36e42611b1402a6 diff --git a/config.h b/config.h index 9f817fc..37437ea 100644 --- a/config.h +++ b/config.h @@ -10,8 +10,10 @@ struct plotter_config { char *device_path; int baudrate; char *log_path; + char *config_file_path; }; +int read_args(int argc, char *argv[], struct plotter_config *cfg); int populate_config_data_from_file(const char *path, struct plotter_config *cfg);