pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pcmki_output.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 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 PCMKI_OUTPUT_H
10 # define PCMKI_OUTPUT_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 # include <crm/common/output.h>
17 # include <libxml/tree.h>
18 
20 
21 int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml);
22 void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif
pcmk__supported_format_t pcmk__out_formats[]
Definition: pcmk_output.c:18
Formatted output for pacemaker tools.
int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml)
Definition: pcmk_output.c:24
void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval)
Definition: pcmk_output.c:42
This structure contains everything that makes up a single output formatter.
Definition: output.h:153