aboutsummaryrefslogtreecommitdiff
path: root/amalgamation/mqtt.h
diff options
context:
space:
mode:
Diffstat (limited to 'amalgamation/mqtt.h')
-rw-r--r--amalgamation/mqtt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/amalgamation/mqtt.h b/amalgamation/mqtt.h
index f07ff3c..ad84aaf 100644
--- a/amalgamation/mqtt.h
+++ b/amalgamation/mqtt.h
@@ -33,6 +33,7 @@ typedef void (*MqttClientOnConnectCallback)(MqttClient *client,
typedef void (*MqttClientOnSubscribeCallback)(MqttClient *client,
int id,
+ const char *topicFilter,
MqttSubscriptionStatus status);
typedef void (*MqttClientOnUnsubscribeCallback)(MqttClient *client, int id);
@@ -82,6 +83,9 @@ int MqttClientRun(MqttClient *client);
int MqttClientSubscribe(MqttClient *client, const char *topicFilter,
int qos);
+int MqttClientSubscribeMany(MqttClient *client, const char **topicFilters,
+ int *qos, size_t count);
+
int MqttClientUnsubscribe(MqttClient *client, const char *topicFilter);
int MqttClientPublish(MqttClient *client, int qos, int retain,