21 #ifndef SELKIELoggerMQTT_Types
22 #define SELKIELoggerMQTT_Types
30 #include <mosquitto.h>
bool mqtt_init_queue_map(mqtt_queue_map *qm)
Initialise mqtt_queue_map to sensible defaults.
struct mosquitto mqtt_conn
Convenient alias for library structure.
void mqtt_destroy_queue_map(mqtt_queue_map *qm)
Release resources used by mqtt_queue_map instance.
bool dumpall
Dump any message, not just matches in .tc.
int numtopics
Number of topics registered.
msgqueue q
Internal message queue.
uint8_t sourceNum
Source number.
uint8_t type
Channel number to use.
char * topic
MQTT topic to subscribe/match against.
bool text
Treat received data as text.
Represent a simple FIFO message queue.