#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) |
static int default_callback | ( | const char * | name | ) | [static] |
Definition at line 173 of file mxml-entity.c.
References int.
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.
{ default_callback }
Definition at line 58 of file mxml-entity.c.
Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().
int num_callbacks = 1 [static] |
Definition at line 57 of file mxml-entity.c.
Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().