X-Git-Url: http://git.itanic.dy.fi/?p=log-plotter;a=blobdiff_plain;f=data.h;fp=data.h;h=6e286faed2c0ec0fd94033f03d88c5083610b493;hp=90934a1b203b839ff0de0a157fff16401a905cb5;hb=3870f4e94d04c2f900ab07100d2f2a4b577c851a;hpb=fbe43f1acc6fc7280b0efd230c3e86009f5a1c0d diff --git a/data.h b/data.h index 90934a1..6e286fa 100644 --- a/data.h +++ b/data.h @@ -1,6 +1,8 @@ #ifndef _DATA_H_ #define _DATA_H_ +#include "config.h" + #define MAX_CELLS 10 struct charger_data { @@ -17,6 +19,6 @@ struct charger_data { double ext_temp; }; -int init_data_parser(int infd, int outfd); +int init_data_parser(int infd, struct plotter_config *cfg); #endif