mirror of
https://github.com/netdata/netdata.git
synced 2021-06-06 23:03:21 +03:00
Currently, we add the repository's top-level dir in the compiler's header search path. This means that code in every top-level directory within the repo can include headers sibling top-level directories. This patch makes header inclusion consistent when it comes to files that are included from sibling top-level directories within the repo.
23 lines
855 B
C
23 lines
855 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
#ifndef ACLK_TX_MSGS_H
|
|
#define ACLK_TX_MSGS_H
|
|
|
|
#include <json-c/json.h>
|
|
#include "libnetdata/libnetdata.h"
|
|
#include "daemon/common.h"
|
|
#include "mqtt_wss_client.h"
|
|
|
|
void aclk_send_info_metadata(mqtt_wss_client client, int metadata_submitted, RRDHOST *host);
|
|
void aclk_send_alarm_metadata(mqtt_wss_client client, int metadata_submitted);
|
|
|
|
void aclk_http_msg_v2(mqtt_wss_client client, const char *topic, const char *msg_id, usec_t t_exec, usec_t created, int http_code, const char *payload, size_t payload_len);
|
|
|
|
void aclk_chart_msg(mqtt_wss_client client, RRDHOST *host, const char *chart);
|
|
|
|
void aclk_alarm_state_msg(mqtt_wss_client client, json_object *msg);
|
|
|
|
json_object *aclk_generate_disconnect(const char *message);
|
|
int aclk_send_app_layer_disconnect(mqtt_wss_client client, const char *message);
|
|
|
|
#endif
|