summaryrefslogtreecommitdiffstats
path: root/src/logsmanagement/functions.h
blob: ea8f35c0e6f899ae0b50016cc144434e55a805f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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_