/home/dko/Projects/mobilec/src/mxml-2.2.2/mxml-node.c File Reference

#include "config.h"
#include "mxml.h"

Go to the source code of this file.

Functions

static mxml_node_tmxml_new (mxml_node_t *parent, mxml_type_t type)
void mxmlAdd (mxml_node_t *parent, int where, mxml_node_t *child, mxml_node_t *node)
void mxmlDelete (mxml_node_t *node)
mxml_node_tmxmlNewCustom (mxml_node_t *parent, void *data, void(*destroy)(void *))
mxml_node_tmxmlNewElement (mxml_node_t *parent, const char *name)
mxml_node_tmxmlNewInteger (mxml_node_t *parent, int integer)
mxml_node_tmxmlNewOpaque (mxml_node_t *parent, const char *opaque)
mxml_node_tmxmlNewReal (mxml_node_t *parent, double real)
mxml_node_tmxmlNewText (mxml_node_t *parent, int whitespace, const char *string)
mxml_node_tmxmlNewTextf (mxml_node_t *parent, int whitespace, const char *format,...)
void mxmlRemove (mxml_node_t *node)

Function Documentation

static mxml_node_t * mxml_new ( mxml_node_t parent,
mxml_type_t  type 
) [static]
void mxmlAdd ( mxml_node_t parent,
int  where,
mxml_node_t child,
mxml_node_t node 
)
void mxmlDelete ( mxml_node_t node  ) 
mxml_node_t* mxmlNewCustom ( mxml_node_t parent,
void *  data,
void(*)(void *)  destroy 
)
mxml_node_t* mxmlNewElement ( mxml_node_t parent,
const char *  name 
)
mxml_node_t* mxmlNewInteger ( mxml_node_t parent,
int  integer 
)

Definition at line 365 of file mxml-node.c.

References mxml_value_u::integer, MXML_INTEGER, mxml_new(), node, and mxml_node_s::value.

Referenced by main(), and mxml_load_data().

mxml_node_t* mxmlNewOpaque ( mxml_node_t parent,
const char *  opaque 
)

Definition at line 396 of file mxml-node.c.

References mxml_new(), MXML_OPAQUE, node, mxml_value_u::opaque, strdup, and mxml_node_s::value.

Referenced by main(), and mxml_load_data().

mxml_node_t* mxmlNewReal ( mxml_node_t parent,
double  real 
)

Definition at line 434 of file mxml-node.c.

References mxml_new(), MXML_REAL, node, mxml_value_u::real, and mxml_node_s::value.

Referenced by main(), and mxml_load_data().

mxml_node_t* mxmlNewText ( mxml_node_t parent,
int  whitespace,
const char *  string 
)
mxml_node_t* mxmlNewTextf ( mxml_node_t parent,
int  whitespace,
const char *  format,
  ... 
)
void mxmlRemove ( mxml_node_t node  ) 
Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3