mxml-node.c File Reference

#include "config.h"
#include "mxml.h"
Include dependency graph for mxml-node.c:

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_tmxmlNewCDATA (mxml_node_t *parent, const char *data)
mxml_node_tmxmlNewCustom (mxml_node_t *parent, void *data, mxml_custom_destroy_cb_t destroy)
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)
mxml_node_tmxmlNewXML (const char *version)
int mxmlRelease (mxml_node_t *node)
int mxmlRetain (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* mxmlNewCDATA ( mxml_node_t parent,
const char *  data 
)
mxml_node_t* mxmlNewCustom ( mxml_node_t parent,
void *  data,
mxml_custom_destroy_cb_t  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 408 of file mxml-node.c.

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

Referenced by mxml_load_data().

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

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

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

Referenced by mxml_load_data().

mxml_node_t* mxmlNewReal ( mxml_node_t parent,
double  real 
)

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

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

Referenced by 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,
  ... 
)
mxml_node_t* mxmlNewXML ( const char *  version  ) 

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

References mxmlNewElement().

Referenced by MP_SaveTeamMultiplayer(), and SAV_GameSave().

int mxmlRelease ( mxml_node_t node  ) 

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

References mxmlDelete(), and mxml_node_s::ref_count.

Referenced by mxml_load_data().

void mxmlRemove ( mxml_node_t node  ) 
int mxmlRetain ( mxml_node_t node  ) 

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

References mxml_node_s::ref_count.


Generated by  doxygen 1.6.2