diff options
Diffstat (limited to 'include/mqtt.h')
| -rw-r--r-- | include/mqtt.h | 6 |
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 | ||
| 14 | void mqtt_run(struct mosquitto *client, const char *topics[], const volatile bool *quit); | 13 | void 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 | ||
| 16 | void mqtt_shutdown(struct mosquitto *client); | 18 | void mqtt_shutdown(struct mosquitto *client); |
