/home/dko/projects/mobilec/trunk/src/mxml-2.2.2/mxml-entity.c File Reference

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

Go to the source code of this file.

Functions

static int default_callback (const char *name)
int mxmlEntityAddCallback (int(*cb)(const char *name))
const char * mxmlEntityGetName (int val)
int mxmlEntityGetValue (const char *name)
void mxmlEntityRemoveCallback (int(*cb)(const char *name))

Variables

static int num_callbacks = 1
static int(* callbacks [100])(const char *name)


Function Documentation

static int default_callback ( const char *  name  )  [static]

Definition at line 169 of file mxml-entity.c.

References int.

int mxmlEntityAddCallback ( int(*)(const char *name)  cb  ) 

Definition at line 65 of file mxml-entity.c.

References callbacks, mxml_error(), and num_callbacks.

const char* mxmlEntityGetName ( int  val  ) 

Definition at line 91 of file mxml-entity.c.

Referenced by mxml_write_name(), and mxml_write_string().

int mxmlEntityGetValue ( const char *  name  ) 

Definition at line 121 of file mxml-entity.c.

References callbacks, and num_callbacks.

Referenced by mxml_get_entity().

void mxmlEntityRemoveCallback ( int(*)(const char *name)  cb  ) 

Definition at line 140 of file mxml-entity.c.

References callbacks, and num_callbacks.


Variable Documentation

int(* callbacks[100])(const char *name) [static]

int num_callbacks = 1 [static]


Generated on Thu Nov 13 14:22:58 2008 for Mobile-C by  doxygen 1.5.5