1 /* 2 * Copyright 2019-2022 the Pacemaker project contributors 3 * 4 * The version control history for this file may have further details. 5 * 6 * This source code is licensed under the GNU Lesser General Public License 7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. 8 */ 9 #ifndef PCMK__PCMKI_PCMKI_OUTPUT__H 10 # define PCMK__PCMKI_PCMKI_OUTPUT__H 11 12 # include <libxml/tree.h> 13 # include <crm/common/output_internal.h> 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 /* This function registers only the formatted output messages that are a part 20 * of libpacemaker. It is not to be confused with pcmk__register_messages, 21 * which is a part of formatted output support and registers a whole table of 22 * messages at a time. 23 */ 24 void pcmk__register_lib_messages(pcmk__output_t *out); 25 26 int pcmk__cluster_status_text(pcmk__output_t *out, va_list args); 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32 #endif