mUPnP for C
xml_parser_expat.c File Reference
#include <mupnp/typedef.h>
#include <mupnp/util/log.h>
#include <mupnp/xml/xml.h>
#include <expat.h>

Data Structures

struct  _mUpnpExpatData
 

Macros

#define XMLCALL
 

Typedefs

typedef struct _mUpnpExpatData mUpnpExpatData
 

Functions

static void XMLCALL mupnp_expat_element_start (void *userData, const char *el, const char **attr)
 
static void XMLCALL mupnp_expat_element_end (void *userData, const char *el)
 
static void XMLCALL mupnp_expat_character_data (void *userData, const XML_Char *s, int len)
 
bool mupnp_xml_parse (mUpnpXmlParser *parser, mUpnpXmlNodeList *nodeList, const char *data, size_t len)
 

Macro Definition Documentation

◆ XMLCALL

#define XMLCALL

Typedef Documentation

◆ mUpnpExpatData

Function Documentation

◆ mupnp_expat_character_data()

static void XMLCALL mupnp_expat_character_data ( void * userData,
const XML_Char * s,
int len )
static

◆ mupnp_expat_element_end()

static void XMLCALL mupnp_expat_element_end ( void * userData,
const char * el )
static

◆ mupnp_expat_element_start()

static void XMLCALL mupnp_expat_element_start ( void * userData,
const char * el,
const char ** attr )
static

◆ mupnp_xml_parse()

bool mupnp_xml_parse ( mUpnpXmlParser * parser,
mUpnpXmlNodeList * nodeList,
const char * data,
size_t len )