diff -r 879bd09e2b96 -r 4b976601737d thermferm/thermferm.h --- a/thermferm/thermferm.h Tue Jun 24 20:21:07 2014 +0200 +++ b/thermferm/thermferm.h Tue Jun 24 22:38:46 2014 +0200 @@ -28,13 +28,13 @@ #include #include #include -#include #ifndef HAVE_WIRINGPI_H #include #endif #include #include - +#include +#include #ifdef HAVE_WIRINGPI_H /* wiringPi */ @@ -74,13 +74,13 @@ float beer_temp; /* Beer temperature */ char *io_address; /* DS2408 address */ unsigned char io_read; /* I/O ports read state */ - bool heater_available; /* Heater available */ + int heater_available; /* Heater available */ int heater_state; /* Heater status */ - bool cooler_available; /* Cooler available */ + int cooler_available; /* Cooler available */ int cooler_state; /* Cooler status */ - bool fan_available; /* Fan available */ + int fan_available; /* Fan available */ int fan_state; /* Fan status */ - bool light_available; /* Door sensor and int. light */ + int light_available; /* Door sensor and int. light */ int light_state; /* Door and light status */ int mode; /* Unit mode */ char *profile; /* Active profile */ @@ -137,7 +137,7 @@ void killconfig(void); int rdconfig(char *); -int wrconfig(char *); +int wrconfig(char *, char *); /* lock.c */