RetroArch
Classes | Functions
rxml.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <boolean.h>
#include <streams/file_stream.h>
#include <compat/posix_string.h>
#include <string/stdstring.h>
#include <formats/rxml.h>
Include dependency graph for rxml.c:

Classes

struct  rxml_document
 

Functions

struct rxml_noderxml_root_node (rxml_document_t *doc)
 
static void rxml_free_node (struct rxml_node *node)
 
static bool validate_header (const char **ptr)
 
static bool range_is_space (const char *begin, const char *end)
 
static void skip_spaces (const char **ptr_)
 
static char * strdup_range (const char *begin, const char *end)
 
static char * strdup_range_escape (const char *begin, const char *end)
 
static struct rxml_attrib_noderxml_parse_attrs (const char *str)
 
static char * find_first_space (const char *str)
 
static bool rxml_parse_tag (struct rxml_node *node, const char *str)
 
static struct rxml_noderxml_parse_node (const char **ptr_)
 
static char * purge_xml_comments (const char *str)
 
rxml_document_trxml_load_document (const char *path)
 
void rxml_free_document (rxml_document_t *doc)
 
char * rxml_node_attrib (struct rxml_node *node, const char *attrib)
 

Function Documentation

◆ find_first_space()

static char* find_first_space ( const char *  str)
static
Here is the caller graph for this function:

◆ purge_xml_comments()

static char* purge_xml_comments ( const char *  str)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ range_is_space()

static bool range_is_space ( const char *  begin,
const char *  end 
)
static
Here is the caller graph for this function:

◆ rxml_free_document()

void rxml_free_document ( rxml_document_t doc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_free_node()

static void rxml_free_node ( struct rxml_node node)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_load_document()

rxml_document_t* rxml_load_document ( const char *  path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_node_attrib()

char* rxml_node_attrib ( struct rxml_node node,
const char *  attrib 
)
Here is the call graph for this function:

◆ rxml_parse_attrs()

static struct rxml_attrib_node* rxml_parse_attrs ( const char *  str)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_parse_node()

static struct rxml_node* rxml_parse_node ( const char **  ptr_)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_parse_tag()

static bool rxml_parse_tag ( struct rxml_node node,
const char *  str 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rxml_root_node()

struct rxml_node* rxml_root_node ( rxml_document_t doc)
Here is the caller graph for this function:

◆ skip_spaces()

static void skip_spaces ( const char **  ptr_)
static
Here is the caller graph for this function:

◆ strdup_range()

static char* strdup_range ( const char *  begin,
const char *  end 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ strdup_range_escape()

static char* strdup_range_escape ( const char *  begin,
const char *  end 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validate_header()

static bool validate_header ( const char **  ptr)
static
Here is the call graph for this function:
Here is the caller graph for this function: