/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 166 of file mxml-entity.c.

References int.

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

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

References callbacks, mxml_error(), and num_callbacks.

const char* mxmlEntityGetName ( int  val  ) 

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

Referenced by mxml_write_name(), and mxml_write_string().

int mxmlEntityGetValue ( const char *  name  ) 

Definition at line 118 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 137 of file mxml-entity.c.

References callbacks, and num_callbacks.


Variable Documentation

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

Initial value:

Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().

int num_callbacks = 1 [static]

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

Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().


Generated on Fri May 16 14:49:56 2008 for Mobile-C by  doxygen 1.5.4