diff options
Diffstat (limited to 'include/mqtt.h')
| -rw-r--r-- | include/mqtt.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/mqtt.h b/include/mqtt.h index fa7df1c..8dad5eb 100644 --- a/include/mqtt.h +++ b/include/mqtt.h | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | // Project | 3 | // mosquitto |
| 4 | #include <mosquitto.h> | 4 | #include <mosquitto.h> |
| 5 | 5 | ||
| 6 | struct mosquitto *connect(const char *clientid, // NOLINT | 6 | struct mosquitto *mqtt_connect(const char *clientid, // NOLINT |
| 7 | const char *username, // NOLINT | 7 | const char *username, // 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 *), | 11 | void callback(struct mosquitto *, void *, const struct mosquitto_message *), |
| 12 | void *userdata); | 12 | void *userdata); |
| 13 | 13 | ||
| 14 | void run(struct mosquitto *client, const char *topics[], const volatile bool *quit); | 14 | void mqtt_run(struct mosquitto *client, const char *topics[], const volatile bool *quit); |
| 15 | 15 | ||
| 16 | void shutdown(struct mosquitto *client); | 16 | void mqtt_shutdown(struct mosquitto *client); |
