summaryrefslogtreecommitdiff
path: root/include/mqtt.h
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2024-10-29 23:30:39 +0100
committerThomas Schmucker <ts@its1.de>2024-10-29 23:30:39 +0100
commit0984a86f9243a8147b8f02882af6380ee5bff22e (patch)
treeb6923aca9d5728ea27be6913cc1295754ca22857 /include/mqtt.h
parent868d0a1ecbfbcd1f04b5c03403d6cffb439ce8fe (diff)
downloaduse-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.tar.gz
use-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.tar.bz2
use-mosquitto-0984a86f9243a8147b8f02882af6380ee5bff22e.zip
Bessere Namensgebung für Funktionen
Diffstat (limited to 'include/mqtt.h')
-rw-r--r--include/mqtt.h20
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
6struct mosquitto *connect(const char *clientid, // NOLINT 6struct 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
14void run(struct mosquitto *client, const char *topics[], const volatile bool *quit); 14void mqtt_run(struct mosquitto *client, const char *topics[], const volatile bool *quit);
15 15
16void shutdown(struct mosquitto *client); 16void mqtt_shutdown(struct mosquitto *client);