#include <crm_internal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <bzlib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlIO.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/common/xml_io.h>
#include "crmcommon_private.h"
Go to the source code of this file.
|
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__xml_write_fd (const xmlNode *xml, const char *filename, int fd) |
|
int | pcmk__xml_write_file (const xmlNode *xml, const char *filename, bool compress) |
|
int | pcmk__xml2fd (int fd, xmlNode *cur) |
|
void | save_xml_to_file (const xmlNode *xml, const char *desc, const char *filename) |
|
◆ pcmk__xml2fd()
int pcmk__xml2fd |
( |
int |
fd, |
|
|
xmlNode * |
cur |
|
) |
| |
◆ pcmk__xml_parse()
xmlNode* pcmk__xml_parse |
( |
const char * |
input | ) |
|
◆ pcmk__xml_read()
xmlNode* pcmk__xml_read |
( |
const char * |
filename | ) |
|
◆ pcmk__xml_string()
void pcmk__xml_string |
( |
const xmlNode * |
data, |
|
|
uint32_t |
options, |
|
|
GString * |
buffer, |
|
|
int |
depth |
|
) |
| |
◆ pcmk__xml_write_fd()
int pcmk__xml_write_fd |
( |
const xmlNode * |
xml, |
|
|
const char * |
filename, |
|
|
int |
fd |
|
) |
| |
◆ pcmk__xml_write_file()
int pcmk__xml_write_file |
( |
const xmlNode * |
xml, |
|
|
const char * |
filename, |
|
|
bool |
compress |
|
) |
| |
◆ save_xml_to_file()
void save_xml_to_file |
( |
const xmlNode * |
xml, |
|
|
const char * |
desc, |
|
|
const char * |
filename |
|
) |
| |