diff -r 602d9968960f -r 5aa914eb644e thermferm/thermferm.h --- a/thermferm/thermferm.h Mon May 02 16:15:37 2016 +0200 +++ b/thermferm/thermferm.h Mon May 09 21:35:55 2016 +0200 @@ -131,6 +131,7 @@ int version; /* Record version */ char *uuid; /* uid code */ char *name; /* friendly name */ + char *alias; /* alias name 'unit1' */ float volume; /* Volume of this unit */ char *air_address; /* DS18B20 address */ int air_state; /* 0=ok, 1=missing, 2=error */ @@ -331,6 +332,7 @@ int lcd_cols; /* LCD display columns */ int lcd_rows; /* LCD display rows */ int lcd_address; /* LCD display i2c address */ + int next_unit; /* Next unit alias name */ units_list *units; /* Fermenter units */ profiles_list *profiles; /* Ferment profiles */ devices_list *devices; /* Sensors and switches */ @@ -338,8 +340,8 @@ simulator_list *simulators; /* Simulators */ #endif #ifdef HAVE_MOSQUITTO_H - char *mosq_host; /* MQTT host to connect to */ - int mosq_port; /* MQTT port to connect to */ + char *mqtt_host; /* MQTT host to connect to */ + int mqtt_port; /* MQTT port to connect to */ #endif } sys_config;