summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_query.h
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2021-01-19 09:41:35 +0100
committerGitHub <noreply@github.com>2021-01-19 09:41:35 +0100
commita65193925e6ba5fe67aa57024353d403d5abb144 (patch)
treebddf2aded3bee2f78c359be0b0d317d97354f7c2 /aclk/aclk_query.h
parentec7134de74224b915d0b07c9a513eeba2aedd8f0 (diff)
Move ACLK Legacy into a subfolder (#10265)
* move all legacy ACLK into a subfolder to make space for ACLK-NG
Diffstat (limited to 'aclk/aclk_query.h')
-rw-r--r--aclk/aclk_query.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/aclk/aclk_query.h b/aclk/aclk_query.h
deleted file mode 100644
index 53eef13922..0000000000
--- a/aclk/aclk_query.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#ifndef NETDATA_ACLK_QUERY_H
-#define NETDATA_ACLK_QUERY_H
-
-#include "libnetdata/libnetdata.h"
-#include "web/server/web_client.h"
-
-#define ACLK_STABLE_TIMEOUT 3 // Minimum delay to mark AGENT as stable
-
-extern pthread_cond_t query_cond_wait;
-extern pthread_mutex_t query_lock_wait;
-#define QUERY_THREAD_WAKEUP pthread_cond_signal(&query_cond_wait)
-#define QUERY_THREAD_WAKEUP_ALL pthread_cond_broadcast(&query_cond_wait)
-
-extern volatile int aclk_connected;
-
-struct aclk_query_thread {
- netdata_thread_t thread;
- int idx;
-};
-
-struct aclk_query_threads {
- struct aclk_query_thread *thread_list;
- int count;
-};
-
-struct aclk_cloud_req_v2 {
- char *data;
- RRDHOST *host;
-};
-
-void *aclk_query_main_thread(void *ptr);
-int aclk_queue_query(char *token, void *data, char *msg_type, char *query, int run_after, int internal, ACLK_CMD cmd);
-
-void aclk_query_threads_start(struct aclk_query_threads *query_threads);
-void aclk_query_threads_cleanup(struct aclk_query_threads *query_threads);
-unsigned int aclk_query_size();
-
-#endif //NETDATA_AGENT_CLOUD_LINK_H