summaryrefslogtreecommitdiffstats
path: root/src/aclk/aclk_query.h
blob: 04cb460d097509d434ae0f976b68efddad20133a (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 NETDATA_ACLK_QUERY_H
#define NETDATA_ACLK_QUERY_H

#include "libnetdata/libnetdata.h"

#include "mqtt_websockets/mqtt_wss_client.h"

#include "aclk_query_queue.h"

int mark_pending_req_cancelled(const char *msg_id);

void aclk_execute_query(aclk_query_t query);
void aclk_query_init(mqtt_wss_client client);
int http_api_v2(mqtt_wss_client client, aclk_query_t query);
int send_bin_msg(mqtt_wss_client client, aclk_query_t query);

#endif //NETDATA_AGENT_CLOUD_LINK_H