summaryrefslogtreecommitdiffstats
path: root/src/aclk/aclk_rx_msgs.h
blob: 61921faec4be802fb2cd8b1b2e75c4ce89aa3bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef ACLK_RX_MSGS_H
#define ACLK_RX_MSGS_H

#include "daemon/common.h"
#include "libnetdata/libnetdata.h"

int aclk_handle_cloud_cmd_message(char *payload);

const char *rx_handler_get_name(size_t i);
unsigned int aclk_init_rx_msg_handlers(void);
void aclk_handle_new_cloud_msg(const char *message_type, const char *msg, size_t msg_len, const char *topic);

#endif /* ACLK_RX_MSGS_H */