aboutsummaryrefslogtreecommitdiff
path: root/src/mqtt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mqtt.h')
-rw-r--r--src/mqtt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mqtt.h b/src/mqtt.h
index 4ea0930..f07ff3c 100644
--- a/src/mqtt.h
+++ b/src/mqtt.h
@@ -73,6 +73,8 @@ int MqttClientConnect(MqttClient *client, const char *host, short port,
int MqttClientDisconnect(MqttClient *client);
+int MqttClientIsConnected(MqttClient *client);
+
int MqttClientRunOnce(MqttClient *client, int timeout);
int MqttClientRun(MqttClient *client);