diff options
| author | Thomas Schmucker <ts@its1.de> | 2024-10-29 23:30:39 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2024-10-29 23:30:39 +0100 |
| commit | 0984a86f9243a8147b8f02882af6380ee5bff22e (patch) | |
| tree | b6923aca9d5728ea27be6913cc1295754ca22857 /include | |
| parent | 868d0a1ecbfbcd1f04b5c03403d6cffb439ce8fe (diff) | |
| download | use-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.tar.gz use-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.tar.bz2 use-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.zip | |
Bessere Namensgebung für Funktionen
Diffstat (limited to 'include')
| -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); |
