diff --git a/tools/crm_mon.h b/tools/crm_mon.h index 75ba699c9f..04bb2d1926 100644 --- a/tools/crm_mon.h +++ b/tools/crm_mon.h @@ -1,58 +1,42 @@ /* * Copyright 2019-2021 the Pacemaker project contributors * * The version control history for this file may have further details. * * This source code is licensed under the GNU General Public License version 2 * or later (GPLv2+) WITHOUT ANY WARRANTY. */ #include #include #include #include #include typedef enum mon_output_format_e { mon_output_unset, mon_output_none, mon_output_monitor, mon_output_plain, mon_output_console, mon_output_xml, mon_output_legacy_xml, mon_output_html, mon_output_cgi } mon_output_format_t; -void print_status(pe_working_set_t *data_set, crm_exit_t history_rc, - stonith_history_t *stonith_history, gboolean fence_history, - unsigned int section_opts, unsigned int show_opts, - const char *prefix, GList *unames, GList *resources); -void print_xml_status(pe_working_set_t *data_set, crm_exit_t history_rc, - stonith_history_t *stonith_history, gboolean fence_history, - unsigned int section_opts, unsigned int show_opts, - const char *prefix, GList *unames, GList *resources); -int print_html_status(pe_working_set_t *data_set, crm_exit_t history_rc, - stonith_history_t *stonith_history, gboolean fence_history, - unsigned int section_opts, unsigned int show_opts, - const char *prefix, GList *unames, GList *resources); - void crm_mon_register_messages(pcmk__output_t *out); pcmk__output_t *crm_mon_mk_curses_output(char **argv); void curses_formatted_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); void curses_formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); void curses_indented_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); void curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); void blank_screen(void); #if CURSES_ENABLED extern GOptionEntry crm_mon_curses_output_entries[]; #define CRM_MON_SUPPORTED_FORMAT_CURSES { "console", crm_mon_mk_curses_output, crm_mon_curses_output_entries } #endif - -pcmk__output_t *crm_mon_mk_xml_output(char **argv); -#define CRM_MON_SUPPORTED_FORMAT_XML { "xml", crm_mon_mk_xml_output, pcmk__xml_output_entries }