diff --git a/udata.h b/udata.h index 780eb86..de3cd60 100644 --- a/udata.h +++ b/udata.h @@ -14,6 +14,7 @@ struct udata { JsonNode *topics; /* Array of topics to subscribe to */ int ignoreretained; /* True if retained messages should be ignored */ #if WITH_MQTT + struct mosquitto *mosq; /* MQTT connection */ char *pubprefix; /* If not NULL (default), republish modified payload to /topic */ int qos; /* Subscribe QoS */ char *hostname; /* MQTT broker */