1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Added hooks for servants, Daniel.

This commit is contained in:
Daniel Veillard
1998-10-08 03:47:24 +00:00
parent 8631b78f5b
commit 278647065b
4 changed files with 13 additions and 2 deletions

4
tree.h
View File

@ -94,15 +94,16 @@ typedef struct xmlAttr {
#define XML_TYPE_ENTITY 3
typedef struct xmlNode {
int type; /* type number in the DTD */
struct xmlNode *parent; /* child->parent link */
struct xmlNode *next; /* next sibling link */
struct xmlNode *childs; /* parent->childs link */
struct xmlAttr *properties; /* properties list */
int type; /* type number in the DTD */
const CHAR *name; /* the name of the node, or the entity */
xmlNs *ns; /* pointer to the associated namespace */
xmlNs *nsDef; /* namespace definitions on this node */
CHAR *content; /* the content */
void *servant; /* for Corba ! */
} xmlNode, *xmlNodePtr;
/*
@ -118,6 +119,7 @@ typedef struct xmlDoc {
struct xmlNs *oldNs; /* Global namespace, the old way */
void *entities; /* Hash table for general entities if any */
struct xmlNode *root; /* the document tree */
void *servant; /* for Corba ! */
} xmlDoc, *xmlDocPtr;
/*