pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Typedefs | Functions
output_xml.c File Reference
#include <crm_internal.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crm/crm.h>
#include <glib.h>
#include <crm/common/cmdline_internal.h>
#include <crm/common/output.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
Include dependency graph for output_xml.c:

Go to the source code of this file.

Typedefs

typedef struct subst_s subst_t
 
typedef struct private_data_s private_data_t
 

Functions

pcmk__output_tpcmk__mk_xml_output (char **argv)
 
xmlNodePtr pcmk__output_xml_create_parent (pcmk__output_t *out, const char *name,...)
 
void pcmk__output_xml_add_node_copy (pcmk__output_t *out, xmlNodePtr node)
 
xmlNodePtr pcmk__output_create_xml_node (pcmk__output_t *out, const char *name,...)
 
xmlNodePtr pcmk__output_create_xml_text_node (pcmk__output_t *out, const char *name, const char *content)
 
void pcmk__output_xml_push_parent (pcmk__output_t *out, xmlNodePtr parent)
 
void pcmk__output_xml_pop_parent (pcmk__output_t *out)
 
xmlNodePtr pcmk__output_xml_peek_parent (pcmk__output_t *out)
 
bool pcmk__output_get_legacy_xml (pcmk__output_t *out)
 
void pcmk__output_set_legacy_xml (pcmk__output_t *out)
 
void pcmk__output_enable_list_element (pcmk__output_t *out)
 

Typedef Documentation

◆ private_data_t

typedef struct private_data_s private_data_t

◆ subst_t

typedef struct subst_s subst_t

Function Documentation

◆ pcmk__mk_xml_output()

pcmk__output_t* pcmk__mk_xml_output ( char **  argv)

Definition at line 439 of file output_xml.c.

◆ pcmk__output_create_xml_node()

xmlNodePtr pcmk__output_create_xml_node ( pcmk__output_t out,
const char *  name,
  ... 
)

Definition at line 515 of file output_xml.c.

◆ pcmk__output_create_xml_text_node()

xmlNodePtr pcmk__output_create_xml_text_node ( pcmk__output_t out,
const char *  name,
const char *  content 
)

Definition at line 536 of file output_xml.c.

◆ pcmk__output_enable_list_element()

void pcmk__output_enable_list_element ( pcmk__output_t out)

Definition at line 627 of file output_xml.c.

◆ pcmk__output_get_legacy_xml()

bool pcmk__output_get_legacy_xml ( pcmk__output_t out)

Definition at line 593 of file output_xml.c.

◆ pcmk__output_set_legacy_xml()

void pcmk__output_set_legacy_xml ( pcmk__output_t out)

Definition at line 610 of file output_xml.c.

◆ pcmk__output_xml_add_node_copy()

void pcmk__output_xml_add_node_copy ( pcmk__output_t out,
xmlNodePtr  node 
)

Definition at line 496 of file output_xml.c.

◆ pcmk__output_xml_create_parent()

xmlNodePtr pcmk__output_xml_create_parent ( pcmk__output_t out,
const char *  name,
  ... 
)

Definition at line 478 of file output_xml.c.

◆ pcmk__output_xml_peek_parent()

xmlNodePtr pcmk__output_xml_peek_parent ( pcmk__output_t out)

Definition at line 578 of file output_xml.c.

◆ pcmk__output_xml_pop_parent()

void pcmk__output_xml_pop_parent ( pcmk__output_t out)

Definition at line 562 of file output_xml.c.

◆ pcmk__output_xml_push_parent()

void pcmk__output_xml_push_parent ( pcmk__output_t out,
xmlNodePtr  parent 
)

Definition at line 548 of file output_xml.c.