summaryrefslogtreecommitdiffstats
path: root/src/logsmanagement/functions.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /src/logsmanagement/functions.h
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/logsmanagement/functions.h')
-rw-r--r--src/logsmanagement/functions.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/logsmanagement/functions.h b/src/logsmanagement/functions.h
new file mode 100644
index 000000000..ea8f35c0e
--- /dev/null
+++ b/src/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_