pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
output_xml.c File Reference
#include <config.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/common/output.h>
#include <crm/common/xml.h>
#include <glib.h>
Include dependency graph for output_xml.c:

Go to the source code of this file.


#define _GNU_SOURCE


typedef struct private_data_s private_data_t


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 (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)


GOptionEntry pcmk__xml_output_entries []

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 11 of file output_xml.c.

Typedef Documentation

typedef struct private_data_s private_data_t

Function Documentation

pcmk__output_t* pcmk__mk_xml_output ( char **  argv)

Definition at line 320 of file output_xml.c.

xmlNodePtr pcmk__output_create_xml_node ( pcmk__output_t out,
const char *  name 

Definition at line 371 of file output_xml.c.

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

Definition at line 380 of file output_xml.c.

void pcmk__output_xml_add_node ( pcmk__output_t out,
xmlNodePtr  node 

Definition at line 361 of file output_xml.c.

xmlNodePtr pcmk__output_xml_create_parent ( pcmk__output_t out,
const char *  name 

Definition at line 354 of file output_xml.c.

xmlNodePtr pcmk__output_xml_peek_parent ( pcmk__output_t out)

Definition at line 407 of file output_xml.c.

void pcmk__output_xml_pop_parent ( pcmk__output_t out)

Definition at line 397 of file output_xml.c.

void pcmk__output_xml_push_parent ( pcmk__output_t out,
xmlNodePtr  parent 

Definition at line 387 of file output_xml.c.

Variable Documentation

GOptionEntry pcmk__xml_output_entries[]
Initial value:
= {
{ "xml-legacy", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &legacy_xml,
{ "xml-simple-list", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &simple_list,
{ NULL }

Definition at line 27 of file output_xml.c.