Eneboo - Documentación para desarrolladores
'defines' | Variables
Referencia del Archivo src/libdigidoc/libxml2/tree.c
#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

Documentación de los 'defines'

#define bottom_tree
#define CUR_SCHAR (   s,
 
)    xmlStringCurrentChar(NULL, s, &l)
#define DICT_CONST_COPY (   str,
  cpy 
)
Valor:
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 
)
Valor:
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)
Valor:
if ((str) && ((!dict) ||                                \
            (xmlDictOwns(dict, (const xmlChar *)(str)) == 0)))  \
            xmlFree((char *)(str));
#define IN_LIBXML
#define IS_STR_XML (   str)
Valor:
((str != NULL) && (str[0] == 'x') && \
  (str[1] == 'm') && (str[2] == 'l') && (str[3] == 0))
#define UPDATE_LAST_CHILD_AND_PARENT (   n)
Valor:
if ((n) != NULL) {              \
    xmlNodePtr ulccur = (n)->children;                                  \
    if (ulccur == NULL) {                                               \
        (n)->last = NULL;                                               \
    } else {                                                            \
        while (ulccur->next != NULL) {                                  \
                ulccur->parent = (n);                                   \
                ulccur = ulccur->next;                                  \
        }                                                               \
        ulccur->parent = (n);                                           \
        (n)->last = ulccur;                                             \
}}
#define XML_NSMAP_FOREACH (   m,
 
)    for (i = (m)->first; i != NULL; i = (i)->next)
#define XML_NSMAP_NOTEMPTY (   m)    (((m) != NULL) && ((m)->first != NULL))
#define XML_NSMAP_POP (   m,
 
)
Valor:
i = (m)->last; \
    (m)->last = (i)->prev; \
    if ((m)->last == NULL) \
        (m)->first = NULL; \
    else \
        (m)->last->next = NULL; \
    (i)->next = (m)->pool; \
    (m)->pool = i;
#define XML_TREE_ADOPT_STR (   str)
Valor:
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)
Valor:
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

Documentación de las variables

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'