/home/dko/projects/mobilec/trunk/src/mxml-2.2.2/testmxml.c File Reference

#include "config.h"
#include "mxml.h"
#include <unistd.h>
#include <fcntl.h>

Go to the source code of this file.

Defines

#define O_BINARY   0

Functions

mxml_type_t type_cb (mxml_node_t *node)
const char * whitespace_cb (mxml_node_t *node, int where)
int main (int argc, char *argv[])


Define Documentation

#define O_BINARY   0

Definition at line 39 of file testmxml.c.

Referenced by main().


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 56 of file testmxml.c.

References mxml_node_s::child, mxml_value_u::element, f, mxml_value_u::integer, mxml_node_s::last_child, MXML_DESCEND, MXML_ELEMENT, MXML_INTEGER, MXML_INTEGER_CALLBACK, MXML_NO_CALLBACK, MXML_NO_DESCEND, MXML_NO_PARENT, MXML_OPAQUE, MXML_OPAQUE_CALLBACK, MXML_REAL, MXML_REAL_CALLBACK, MXML_TEXT, mxmlDelete(), mxmlFindElement(), mxmlIndexDelete(), mxmlIndexEnum(), mxmlIndexFind(), mxmlIndexNew(), mxmlIndexReset(), mxmlLoadFd(), mxmlLoadFile(), mxmlLoadString(), mxmlNewElement(), mxmlNewInteger(), mxmlNewOpaque(), mxmlNewReal(), mxmlNewText(), mxmlSaveFd(), mxmlSaveFile(), mxmlSaveString(), mxml_value_s::name, mxml_node_s::next, node, mxml_index_s::num_nodes, O_BINARY, mxml_value_u::opaque, mxml_value_u::real, mxml_text_s::string, mxml_value_u::text, mxml_node_s::type, type_cb(), mxml_node_s::value, mxml_text_s::whitespace, and whitespace_cb().

mxml_type_t type_cb ( mxml_node_t node  ) 

Definition at line 539 of file testmxml.c.

References mxml_value_u::element, MXML_INTEGER, MXML_OPAQUE, MXML_REAL, MXML_TEXT, mxmlElementGetAttr(), mxml_value_s::name, and mxml_node_s::value.

Referenced by main().

const char* whitespace_cb ( mxml_node_t node,
int  where 
)

Definition at line 246 of file xml_helper.c.

References MXML_WS_AFTER_CLOSE, and MXML_WS_BEFORE_OPEN.


Generated on Fri May 16 14:49:56 2008 for Mobile-C by  doxygen 1.5.4