summaryrefslogtreecommitdiffstats
path: root/logsmanagement/functions.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 /logsmanagement/functions.h
parentInitial commit. (diff)
downloadnetdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz
netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--logsmanagement/functions.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/logsmanagement/functions.h b/logsmanagement/functions.h
new file mode 100644
index 00000000..16824d43
--- /dev/null
+++ b/logsmanagement/functions.h
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+/** @file functions.h
+ * @brief Header of functions.c
+ */
+
+#ifndef FUNCTIONS_H_
+#define FUNCTIONS_H_
+
+#include "../database/rrdfunctions.h"
+
+#define LOGS_MANAG_FUNC_NAME "logs-management"
+#define FUNCTION_LOGSMANAGEMENT_HELP_SHORT "View, search and analyze logs monitored through the logs management engine."
+
+int logsmanagement_function_execute_cb( BUFFER *dest_wb, int timeout,
+ const char *function, void *collector_data,
+ void (*callback)(BUFFER *wb, int code, void *callback_data),
+ void *callback_data);
+
+struct functions_evloop_globals *logsmanagement_func_facets_init(bool *p_logsmanagement_should_exit);
+
+#endif // FUNCTIONS_H_ \ No newline at end of file