Nut/OS  4.10.3
API Reference
uxml.h File Reference

Micro XML stream parser. More...

#include <stdio.h>
Include dependency graph for uxml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _UXML_ATTRIB
 Linked list of XML attributes. More...
struct  _UXML_NODE
 Linked list of XML nodes. More...

Typedefs

typedef struct _UXML_ATTRIB UXML_ATTRIB
 Linked list of XML attributes.
typedef struct _UXML_NODE UXML_NODE
 Linked list of XML nodes.

Functions

UXML_NODEUxmlParseStream (FILE *stream, char **f_tags, char **f_attribs)
 Parse XML stream.
char * UxmlParseTag (char *data, char *tkn, size_t size)
 Retrieve the next token from an XML tag.
UXML_NODEUxmlTreeAddSibling (UXML_NODE *node, UXML_NODE *sibling)
 Add a sibling to the specified node.
UXML_NODEUxmlTreeAddChild (UXML_NODE *node, UXML_NODE *child)
 Add a child to the specified node.
void UxmlTreeDestroy (UXML_NODE *node)
 Release all memory of an XML tree structure.
UXML_NODEUxmlNodeCreate (char *name)
 Allocate a new tree node.
int UxmlNodeAddAttrib (UXML_NODE *node, char *name, char *value)
 Add an attribute to the specified node.
int UxmlFilterMatch (char *name, char **filt)
 Check if name matches filter list.

Detailed Description

Micro XML stream parser.

 * $Id: uxml.h 2023 2008-02-15 16:46:09Z haraldkipp $
 * 

Definition in file uxml.h.


Typedef Documentation

typedef struct _UXML_ATTRIB UXML_ATTRIB

Linked list of XML attributes.

typedef struct _UXML_NODE UXML_NODE

Linked list of XML nodes.