mqtt: clean up struct prototypes a bit

This commit is contained in:
goldsimon 2017-03-28 09:20:59 +02:00
parent 8673610f3f
commit 8b6b270287

View File

@ -45,7 +45,12 @@
extern "C" { extern "C" {
#endif #endif
typedef struct mqtt_client_t mqtt_client_t; typedef struct mqtt_client_s mqtt_client_t;
struct altcp_pcb;
#if LWIP_ALTCP && LWIP_ALTCP_TLS
struct altcp_tls_config;
#endif
/** @ingroup mqtt /** @ingroup mqtt
* Default MQTT port (non-TLS) */ * Default MQTT port (non-TLS) */
@ -180,7 +185,7 @@ struct mqtt_ringbuf_t {
}; };
/** MQTT client */ /** MQTT client */
struct mqtt_client_t struct mqtt_client_s
{ {
/** Timers and timeouts */ /** Timers and timeouts */
u16_t cyclic_tick; u16_t cyclic_tick;