/home/dko/Projects/mobilec/src/mxml-2.2.2/mxml-index.c File Reference

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

Go to the source code of this file.

Functions

static int index_compare (mxml_index_t *ind, mxml_node_t *first, mxml_node_t *second)
static int index_find (mxml_index_t *ind, const char *element, const char *value, mxml_node_t *node)
static void index_sort (mxml_index_t *ind, int left, int right)
void mxmlIndexDelete (mxml_index_t *ind)
mxml_node_tmxmlIndexEnum (mxml_index_t *ind)
mxml_node_tmxmlIndexFind (mxml_index_t *ind, const char *element, const char *value)
mxml_index_tmxmlIndexNew (mxml_node_t *node, const char *element, const char *attr)
mxml_node_tmxmlIndexReset (mxml_index_t *ind)

Function Documentation

static int index_compare ( mxml_index_t ind,
mxml_node_t first,
mxml_node_t second 
) [static]
static int index_find ( mxml_index_t ind,
const char *  element,
const char *  value,
mxml_node_t node 
) [static]
static void index_sort ( mxml_index_t ind,
int  left,
int  right 
) [static]

Definition at line 580 of file mxml-index.c.

References index_compare(), and mxml_index_s::nodes.

Referenced by mxmlIndexNew().

void mxmlIndexDelete ( mxml_index_t ind  ) 

Definition at line 62 of file mxml-index.c.

References mxml_index_s::alloc_nodes, mxml_index_s::attr, and mxml_index_s::nodes.

Referenced by main(), and mxmlIndexNew().

mxml_node_t* mxmlIndexEnum ( mxml_index_t ind  ) 

Definition at line 92 of file mxml-index.c.

References mxml_index_s::cur_node, mxml_index_s::nodes, and mxml_index_s::num_nodes.

Referenced by main(), and mxmlIndexFind().

mxml_node_t* mxmlIndexFind ( mxml_index_t ind,
const char *  element,
const char *  value 
)
mxml_index_t* mxmlIndexNew ( mxml_node_t node,
const char *  element,
const char *  attr 
)
mxml_node_t* mxmlIndexReset ( mxml_index_t ind  ) 

Definition at line 463 of file mxml-index.c.

References mxml_index_s::cur_node, mxml_index_s::nodes, and mxml_index_s::num_nodes.

Referenced by main().

Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3