#include "mxml-private.h"
#include <pthread.h>
Go to the source code of this file.
Functions | |
void | mxml_error (const char *format,...) |
mxml_type_t | mxml_ignore_cb (mxml_node_t *node) |
mxml_type_t | mxml_integer_cb (mxml_node_t *node) |
mxml_type_t | mxml_opaque_cb (mxml_node_t *node) |
mxml_type_t | mxml_real_cb (mxml_node_t *node) |
static void | _mxml_init (void) |
static void | _mxml_destructor (void *g) |
_mxml_global_t * | _mxml_global (void) |
Variables | |
static pthread_key_t | _mxml_key = -1 |
static pthread_once_t | _mxml_key_once = PTHREAD_ONCE_INIT |
static void _mxml_destructor | ( | void * | g | ) | [static] |
Definition at line 180 of file mxml-private.c.
Referenced by _mxml_init().
_mxml_global_t* _mxml_global | ( | void | ) |
Definition at line 143 of file mxml-private.c.
References _mxml_entity_cb(), _mxml_init(), _mxml_key, _mxml_key_once, _mxml_global_s::entity_cbs, _mxml_global_s::num_entity_cbs, and _mxml_global_s::wrap.
Referenced by mxml_error(), mxml_load_data(), mxmlEntityAddCallback(), mxmlEntityGetValue(), mxmlEntityRemoveCallback(), mxmlSaveFd(), mxmlSaveFile(), mxmlSaveString(), mxmlSetCustomHandlers(), mxmlSetErrorCallback(), and mxmlSetWrapMargin().
static void _mxml_init | ( | void | ) | [static] |
Definition at line 169 of file mxml-private.c.
References _mxml_destructor(), and _mxml_key.
Referenced by _mxml_global().
void mxml_error | ( | const char * | format, | |
... | ||||
) |
Definition at line 39 of file mxml-private.c.
References _mxml_global(), and _mxml_global_s::error_cb.
Referenced by mxml_add_char(), mxml_fd_getc(), mxml_file_getc(), mxml_get_entity(), mxml_load_data(), mxml_parse_element(), mxml_set_attr(), mxml_string_getc(), mxmlElementSetAttrf(), mxmlEntityAddCallback(), and mxmlIndexNew().
mxml_type_t mxml_ignore_cb | ( | mxml_node_t * | node | ) |
Definition at line 81 of file mxml-private.c.
References MXML_IGNORE, and void().
mxml_type_t mxml_integer_cb | ( | mxml_node_t * | node | ) |
Definition at line 94 of file mxml-private.c.
References MXML_INTEGER, and void().
mxml_type_t mxml_opaque_cb | ( | mxml_node_t * | node | ) |
Definition at line 107 of file mxml-private.c.
References MXML_OPAQUE, and void().
mxml_type_t mxml_real_cb | ( | mxml_node_t * | node | ) |
Definition at line 120 of file mxml-private.c.
pthread_key_t _mxml_key = -1 [static] |
Definition at line 131 of file mxml-private.c.
Referenced by _mxml_global(), and _mxml_init().
pthread_once_t _mxml_key_once = PTHREAD_ONCE_INIT [static] |
Definition at line 132 of file mxml-private.c.
Referenced by _mxml_global().