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

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

Go to the source code of this file.

Functions

int mxmlSetCustom (mxml_node_t *node, void *data, void(*destroy)(void *))
int mxmlSetElement (mxml_node_t *node, const char *name)
int mxmlSetInteger (mxml_node_t *node, int integer)
int mxmlSetOpaque (mxml_node_t *node, const char *opaque)
int mxmlSetReal (mxml_node_t *node, double real)
int mxmlSetText (mxml_node_t *node, int whitespace, const char *string)
int mxmlSetTextf (mxml_node_t *node, int whitespace, const char *format,...)


Function Documentation

int mxmlSetCustom ( mxml_node_t node,
void *  data,
void(*)(void *)  destroy 
)

Definition at line 43 of file mxml-set.c.

References mxml_value_u::custom, mxml_custom_s::data, mxml_custom_s::destroy, MXML_CUSTOM, mxml_node_s::type, and mxml_node_s::value.

int mxmlSetElement ( mxml_node_t node,
const char *  name 
)

Definition at line 76 of file mxml-set.c.

References mxml_value_u::element, MXML_ELEMENT, mxml_value_s::name, mxml_node_s::type, and mxml_node_s::value.

int mxmlSetInteger ( mxml_node_t node,
int  integer 
)

Definition at line 106 of file mxml-set.c.

References mxml_value_u::integer, MXML_INTEGER, mxml_node_s::type, and mxml_node_s::value.

int mxmlSetOpaque ( mxml_node_t node,
const char *  opaque 
)

Definition at line 133 of file mxml-set.c.

References MXML_OPAQUE, mxml_value_u::opaque, mxml_node_s::type, and mxml_node_s::value.

int mxmlSetReal ( mxml_node_t node,
double  real 
)

Definition at line 163 of file mxml-set.c.

References MXML_REAL, mxml_value_u::real, mxml_node_s::type, and mxml_node_s::value.

int mxmlSetText ( mxml_node_t node,
int  whitespace,
const char *  string 
)

Definition at line 190 of file mxml-set.c.

References MXML_TEXT, mxml_text_s::string, mxml_value_u::text, mxml_node_s::type, mxml_node_s::value, and mxml_text_s::whitespace.

int mxmlSetTextf ( mxml_node_t node,
int  whitespace,
const char *  format,
  ... 
)

Definition at line 222 of file mxml-set.c.

References mxml_strdupf(), MXML_TEXT, mxml_text_s::string, mxml_value_u::text, mxml_node_s::type, mxml_node_s::value, and mxml_text_s::whitespace.


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