summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_rx_msgs.h
blob: 00f88c6a8ddf98707f7432a43c827130545730db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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);

#ifdef ENABLE_NEW_CLOUD_PROTOCOL
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);
#endif

#endif /* ACLK_RX_MSGS_H */