#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 50 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 83 of file mxml-set.c.
References mxml_value_u::element, MXML_ELEMENT, mxml_value_s::name, strdup, mxml_node_s::type, and mxml_node_s::value.
int mxmlSetInteger | ( | mxml_node_t * | node, | |
int | integer | |||
) |
Definition at line 113 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 140 of file mxml-set.c.
References MXML_OPAQUE, mxml_value_u::opaque, strdup, mxml_node_s::type, and mxml_node_s::value.
int mxmlSetReal | ( | mxml_node_t * | node, | |
double | real | |||
) |
Definition at line 170 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 197 of file mxml-set.c.
References MXML_TEXT, strdup, 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 229 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.