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