add: mqtt host config option

This commit is contained in:
Tobias Reisinger 2020-07-14 20:43:58 +02:00
parent b2ac46c0fd
commit eefe50b3cd
5 changed files with 12 additions and 8 deletions
include

View file

@ -17,12 +17,13 @@ typedef struct
typedef struct
{
char *file;
char *database;
char database[256];
log_level_t log_level;
run_type_t run_type;
char name[MAX_NAME_LENGTH + 1];
uint16_t discovery_port;
uint16_t mqtt_port;
char mqtt_host[256];
uint8_t relay_count;
config_relay_t *relay_configs;
} config_t;