#include "config.h"
#include "mxml.h"
Go to the source code of this file.
Functions | |
int | mxmlSetCustom (mxml_node_t *node, void *data, mxml_custom_destroy_cb_t destroy) |
int | mxmlSetCDATA (mxml_node_t *node, const char *data) |
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,...) |
int mxmlSetCDATA | ( | mxml_node_t * | node, | |
const char * | data | |||
) |
Definition at line 82 of file mxml-set.c.
References _mxml_strdupf(), mxml_value_u::element, MXML_ELEMENT, mxml_element_s::name, mxml_node_s::type, and mxml_node_s::value.
int mxmlSetCustom | ( | mxml_node_t * | node, | |
void * | data, | |||
mxml_custom_destroy_cb_t | destroy | |||
) |
Definition at line 47 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 113 of file mxml-set.c.
References mxml_value_u::element, MXML_ELEMENT, mxml_element_s::name, mxml_node_s::type, and mxml_node_s::value.
int mxmlSetInteger | ( | mxml_node_t * | node, | |
int | integer | |||
) |
Definition at line 143 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 170 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 200 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 227 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 259 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.