496:5cf6f099c897 | 497:18ace27338e5 |
---|---|
39 #endif | 39 #endif |
40 #include <libxml/xmlmemory.h> | 40 #include <libxml/xmlmemory.h> |
41 #include <libxml/parser.h> | 41 #include <libxml/parser.h> |
42 #include <libxml/encoding.h> | 42 #include <libxml/encoding.h> |
43 #include <libxml/xmlwriter.h> | 43 #include <libxml/xmlwriter.h> |
44 | |
45 #ifdef HAVE_MOSQUITTO_H | |
46 #include <mosquitto.h> | |
47 #endif | |
44 | 48 |
45 #ifdef HAVE_WIRINGPI_H | 49 #ifdef HAVE_WIRINGPI_H |
46 /* wiringPi */ | 50 /* wiringPi */ |
47 #include <wiringPi.h> | 51 #include <wiringPi.h> |
48 #include <pcf8574.h> | 52 #include <pcf8574.h> |
323 profiles_list *profiles; /* Ferment profiles */ | 327 profiles_list *profiles; /* Ferment profiles */ |
324 devices_list *devices; /* Sensors and switches */ | 328 devices_list *devices; /* Sensors and switches */ |
325 #ifdef USE_SIMULATOR | 329 #ifdef USE_SIMULATOR |
326 simulator_list *simulators; /* Simulators */ | 330 simulator_list *simulators; /* Simulators */ |
327 #endif | 331 #endif |
332 #ifdef HAVE_MOSQUITTO_H | |
333 char *mosq_host; /* MQTT host to connect to */ | |
334 int mosq_port; /* MQTT port to connect to */ | |
335 #endif | |
328 } sys_config; | 336 } sys_config; |
329 | 337 |
330 | 338 |
331 | 339 |
332 #endif | 340 #endif |