// SPDX-License-Identifier: GPL-3.0-or-later
#include "libnetdata/libnetdata.h"
#include "agent_cloud_link.h"
// Read from the config file -- new section [agent_cloud_link]
// Defaults are supplied
int aclk_port = ACLK_DEFAULT_PORT;
char *aclk_hostname = ACLK_DEFAULT_HOST;
int aclk_subscribed = 0;
int aclk_disable_single_updates = 0;
int aclk_metadata_submitted = 0;
int agent_state = 0;
time_t last_init_sequence = 0;
int waiting_init = 1;
char *global_base_topic = NULL;
int aclk_connecting = 0;
char *create_uuid()
{
uuid_t uuid