summaryrefslogtreecommitdiffstats
path: root/web/server/web_client_cache.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:57:58 +0000
commitbe1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /web/server/web_client_cache.h
parentInitial commit. (diff)
downloadnetdata-upstream.tar.xz
netdata-upstream.zip
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/server/web_client_cache.h')
-rw-r--r--web/server/web_client_cache.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/server/web_client_cache.h b/web/server/web_client_cache.h
new file mode 100644
index 00000000..85cde3e8
--- /dev/null
+++ b/web/server/web_client_cache.h
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_WEB_CLIENT_CACHE_H
+#define NETDATA_WEB_CLIENT_CACHE_H
+
+#include "libnetdata/libnetdata.h"
+#include "web_client.h"
+
+void web_client_release_to_cache(struct web_client *w);
+struct web_client *web_client_get_from_cache(void);
+void web_client_cache_destroy(void);
+
+#include "web_server.h"
+
+#endif //NETDATA_WEB_CLIENT_CACHE_H