From ec8a673c3f43afcc32c8daeb97ae58850c881f5a Mon Sep 17 00:00:00 2001 From: Josh Watts Date: Sat, 18 Feb 2017 18:20:47 -0500 Subject: [PATCH] Add missing struct names --- include/mqtt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mqtt.h b/include/mqtt.h index b1d6214..23b08f9 100755 --- a/include/mqtt.h +++ b/include/mqtt.h @@ -22,7 +22,7 @@ typedef void (* mqtt_callback)(void *, void *); -typedef struct { +typedef struct mqtt_settings { mqtt_callback connected_cb; mqtt_callback disconnected_cb; mqtt_callback reconnect_cb; @@ -73,7 +73,7 @@ typedef struct mqtt_state_t int pending_publish_qos; } mqtt_state_t; -typedef struct { +typedef struct mqtt_client { int socket; #if defined(CONFIG_MQTT_SECURITY_ON) // ENABLE MQTT OVER SSL