/home/dko/Projects/mobilec/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 173 of file mxml-entity.c.

References int.

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

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

References callbacks, mxml_error(), and num_callbacks.

const char* mxmlEntityGetName ( int  val  ) 

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

Referenced by mxml_write_name(), and mxml_write_string().

int mxmlEntityGetValue ( const char *  name  ) 

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

References callbacks, and num_callbacks.


Variable Documentation

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

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

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

int num_callbacks = 1 [static]
Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3