#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] |
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 | ) |
Initial value:
{ default_callback }
Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().
int num_callbacks = 1 [static] |
Definition at line 53 of file mxml-entity.c.
Referenced by mxmlEntityAddCallback(), mxmlEntityGetValue(), and mxmlEntityRemoveCallback().