summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mqtt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mqtt.h b/include/mqtt.h
index 8dad5eb..c0c612d 100644
--- a/include/mqtt.h
+++ b/include/mqtt.h
@@ -8,9 +8,11 @@ struct mosquitto *mqtt_connect(const char *clientid, // NOLINT
8 const char *password, // NOLINT 8 const char *password, // NOLINT
9 const char *hostname, // NOLINT 9 const char *hostname, // NOLINT
10 int port, 10 int port,
11 void callback(struct mosquitto *, void *, const struct mosquitto_message *),
12 void *userdata); 11 void *userdata);
13 12
14void mqtt_run(struct mosquitto *client, const char *topics[], const volatile bool *quit); 13void mqtt_run(struct mosquitto *client,
14 const char *topics[],
15 void callback(struct mosquitto *, void *, const struct mosquitto_message *),
16 const volatile bool *quit);
15 17
16void mqtt_shutdown(struct mosquitto *client); 18void mqtt_shutdown(struct mosquitto *client);