Eneboo - Documentación para desarrolladores
|
#include "libxml.h"
#include <string.h>
#include <limits.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/uri.h>
#include <libxml/entities.h>
#include <libxml/valid.h>
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
#include <libxml/globals.h>
#include <libxml/hash.h>
#include "elfgcchack.h"
'defines' | |
#define | IN_LIBXML |
#define | UPDATE_LAST_CHILD_AND_PARENT(n) |
#define | IS_STR_XML(str) |
#define | CUR_SCHAR(s, l) xmlStringCurrentChar(NULL, s, &l) |
#define | DICT_FREE(str) |
#define | DICT_COPY(str, cpy) |
#define | DICT_CONST_COPY(str, cpy) |
#define | XML_TREE_NSMAP_PARENT -1 |
#define | XML_TREE_NSMAP_XML -2 |
#define | XML_TREE_NSMAP_DOC -3 |
#define | XML_TREE_NSMAP_CUSTOM -4 |
#define | XML_NSMAP_NOTEMPTY(m) (((m) != NULL) && ((m)->first != NULL)) |
#define | XML_NSMAP_FOREACH(m, i) for (i = (m)->first; i != NULL; i = (i)->next) |
#define | XML_NSMAP_POP(m, i) |
#define | XML_TREE_ADOPT_STR(str) |
#define | XML_TREE_ADOPT_STR_2(str) |
#define | bottom_tree |
Variables | |
int | __xmlRegisterCallbacks = 0 |
#define bottom_tree |
#define DICT_CONST_COPY | ( | str, | |
cpy | |||
) |
if (str) { \ if (dict) { \ if (xmlDictOwns(dict, (const xmlChar *)(str))) \ cpy = (const xmlChar *) (str); \ else \ cpy = xmlDictLookup((dict), (const xmlChar *)(str), -1); \ } else \ cpy = (const xmlChar *) xmlStrdup((const xmlChar *)(str)); }
#define DICT_COPY | ( | str, | |
cpy | |||
) |
if (str) { \ if (dict) { \ if (xmlDictOwns(dict, (const xmlChar *)(str))) \ cpy = (xmlChar *) (str); \ else \ cpy = (xmlChar *) xmlDictLookup((dict), (const xmlChar *)(str), -1); \ } else \ cpy = xmlStrdup((const xmlChar *)(str)); }
#define DICT_FREE | ( | str | ) |
if ((str) && ((!dict) || \ (xmlDictOwns(dict, (const xmlChar *)(str)) == 0))) \ xmlFree((char *)(str));
#define IN_LIBXML |
#define IS_STR_XML | ( | str | ) |
((str != NULL) && (str[0] == 'x') && \ (str[1] == 'm') && (str[2] == 'l') && (str[3] == 0))
#define UPDATE_LAST_CHILD_AND_PARENT | ( | n | ) |
#define XML_NSMAP_FOREACH | ( | m, | |
i | |||
) | for (i = (m)->first; i != NULL; i = (i)->next) |
#define XML_NSMAP_POP | ( | m, | |
i | |||
) |
#define XML_TREE_ADOPT_STR | ( | str | ) |
if (adoptStr && (str != NULL)) { \ if (destDoc->dict) { \ const xmlChar *old = str; \ str = xmlDictLookup(destDoc->dict, str, -1); \ if ((sourceDoc == NULL) || (sourceDoc->dict == NULL) || \ (!xmlDictOwns(sourceDoc->dict, old))) \ xmlFree((char *)old); \ } else if ((sourceDoc) && (sourceDoc->dict) && \ xmlDictOwns(sourceDoc->dict, str)) { \ str = BAD_CAST xmlStrdup(str); \ } \ }
#define XML_TREE_ADOPT_STR_2 | ( | str | ) |
if (adoptStr && (str != NULL) && (sourceDoc != NULL) && \ (sourceDoc->dict != NULL) && \ xmlDictOwns(sourceDoc->dict, cur->content)) { \ if (destDoc->dict) \ cur->content = (xmlChar *) \ xmlDictLookup(destDoc->dict, cur->content, -1); \ else \ cur->content = xmlStrdup(BAD_CAST cur->content); \ }
#define XML_TREE_NSMAP_CUSTOM -4 |
#define XML_TREE_NSMAP_DOC -3 |
#define XML_TREE_NSMAP_PARENT -1 |
#define XML_TREE_NSMAP_XML -2 |