13 #include <libxml/tree.h> 41 out->
finish(out, 0, FALSE, (
void **) xml);
int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml)
#define PCMK__SUPPORTED_FORMAT_XML
void pcmk__register_formats(GOptionGroup *group, pcmk__supported_format_t *table)
Formatted output for pacemaker tools.
void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval)
void(* finish)(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest)
Function and executable result codes.
void pcmk__output_free(pcmk__output_t *out)
pcmk__supported_format_t pcmk__out_formats[]
This structure contains everything that makes up a single output formatter.
int pcmk__output_new(pcmk__output_t **out, const char *fmt_name, const char *filename, char **argv)