pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
xml_io_internal.h File Reference
#include <stdbool.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, bool compress, unsigned int *nbytes)
 
int pcmk__xml_write_file (const xmlNode *xml, const char *filename, bool compress, unsigned int *nbytes)
 

Function Documentation

◆ pcmk__xml2fd()

int pcmk__xml2fd ( int  fd,
xmlNode *  cur 
)

Definition at line 713 of file xml_io.c.

◆ pcmk__xml_parse()

xmlNode* pcmk__xml_parse ( const char *  input)

Definition at line 244 of file xml_io.c.

◆ pcmk__xml_read()

xmlNode* pcmk__xml_read ( const char *  filename)

Definition at line 166 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 488 of file xml_io.c.

◆ pcmk__xml_write_fd()

int pcmk__xml_write_fd ( const xmlNode *  xml,
const char *  filename,
int  fd,
bool  compress,
unsigned int *  nbytes 
)

Definition at line 660 of file xml_io.c.

◆ pcmk__xml_write_file()

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

Definition at line 688 of file xml_io.c.