From 47e04a5292a8868ca9c7063aba0e82a9c0f1f755 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 4 Nov 2024 16:22:09 +0100 Subject: 'mqtt_run' nach 'mqtt_handle_messages' umbenannt --- include/mqtt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/mqtt.h') diff --git a/include/mqtt.h b/include/mqtt.h index c0c612d..fecb884 100644 --- a/include/mqtt.h +++ b/include/mqtt.h @@ -10,9 +10,9 @@ struct mosquitto *mqtt_connect(const char *clientid, // NOLINT int port, void *userdata); -void mqtt_run(struct mosquitto *client, - const char *topics[], - void callback(struct mosquitto *, void *, const struct mosquitto_message *), - const volatile bool *quit); +void mqtt_handle_messages(struct mosquitto *client, + const char *topics[], + void callback(struct mosquitto *, void *, const struct mosquitto_message *), + const volatile bool *quit); void mqtt_shutdown(struct mosquitto *client); -- cgit v1.3