pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Functions
xml_io_internal.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <glib.h>
#include <libxml/tree.h>
Include dependency graph for xml_io_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

xmlNode * pcmk__xml_read (const char *filename)
 
xmlNode * pcmk__xml_parse (const char *input)
 
void pcmk__xml_string (const xmlNode *data, uint32_t options, GString *buffer, int depth)
 
int pcmk__xml2fd (int fd, xmlNode *cur)
 
int pcmk__xml_write_fd (const xmlNode *xml, const char *filename, int fd)
 
int pcmk__xml_write_file (const xmlNode *xml, const char *filename, bool compress)
 

Function Documentation

◆ pcmk__xml2fd()

int pcmk__xml2fd ( int  fd,
xmlNode *  cur 
)

Definition at line 624 of file xml_io.c.

◆ pcmk__xml_parse()

xmlNode* pcmk__xml_parse ( const char *  input)

Definition at line 168 of file xml_io.c.

◆ pcmk__xml_read()

xmlNode* pcmk__xml_read ( const char *  filename)

Definition at line 102 of file xml_io.c.

◆ pcmk__xml_string()

void pcmk__xml_string ( const xmlNode *  data,
uint32_t  options,
GString *  buffer,
int  depth 
)

Definition at line 411 of file xml_io.c.

◆ pcmk__xml_write_fd()

int pcmk__xml_write_fd ( const xmlNode *  xml,
const char *  filename,
int  fd 
)

Definition at line 576 of file xml_io.c.

◆ pcmk__xml_write_file()

int pcmk__xml_write_file ( const xmlNode *  xml,
const char *  filename,
bool  compress 
)

Definition at line 601 of file xml_io.c.