#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,...) |
| int mxmlSetCustom | ( | mxml_node_t * | node, | |
| void * | data, | |||
| void(*)(void *) | destroy | |||
| ) |
Definition at line 46 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 79 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 109 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 136 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 166 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 193 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 225 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.
1.5.4