functions.h 804 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. /** @file functions.h
  3. * @brief Header of functions.c
  4. */
  5. #ifndef FUNCTIONS_H_
  6. #define FUNCTIONS_H_
  7. #include "../database/rrdfunctions.h"
  8. #define LOGS_MANAG_FUNC_NAME "logs-management"
  9. #define FUNCTION_LOGSMANAGEMENT_HELP_SHORT "View, search and analyze logs monitored through the logs management engine."
  10. int logsmanagement_function_execute_cb( BUFFER *dest_wb, int timeout,
  11. const char *function, void *collector_data,
  12. void (*callback)(BUFFER *wb, int code, void *callback_data),
  13. void *callback_data);
  14. struct functions_evloop_globals *logsmanagement_func_facets_init(bool *p_logsmanagement_should_exit);
  15. #endif // FUNCTIONS_H_