blob: 4ba3a30d90edfdcdcbe259d161f028b639d5da01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_MQTT_H
#define NETDATA_MQTT_H
#ifdef ENABLE_ACLK
#include "externaldeps/mosquitto/mosquitto.h"
#endif
void _show_mqtt_info();
int _link_event_loop(int timeout);
void _link_shutdown();
int _link_lib_init(char *aclk_hostname, int aclk_port, void (*on_connect)(void *), void (*on_disconnect)(void *));
int _link_subscribe(char *topic, int qos);
int _link_send_message(char *topic, char *message);
const char *_link_strerror(int rc);
extern int aclk_connection_initialized;
int aclk_handle_cloud_request(char *);
#endif //NETDATA_MQTT_H
|