mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
doc: Document struct typedefs
Unfortunately, Doxygen's TYPDEF_HIDES_STRUCT option is too broken. Document struct typedefs to make autolinks work.
This commit is contained in:
@@ -63,6 +63,7 @@ typedef enum {
|
|||||||
|
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
|
/** XML catalog */
|
||||||
typedef struct _xmlCatalog xmlCatalog;
|
typedef struct _xmlCatalog xmlCatalog;
|
||||||
typedef xmlCatalog *xmlCatalogPtr;
|
typedef xmlCatalog *xmlCatalogPtr;
|
||||||
|
|
||||||
|
@@ -22,8 +22,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* The dictionary.
|
* Dictionary (pool for interned strings)
|
||||||
*/
|
*/
|
||||||
typedef struct _xmlDict xmlDict;
|
typedef struct _xmlDict xmlDict;
|
||||||
typedef xmlDict *xmlDictPtr;
|
typedef xmlDict *xmlDictPtr;
|
||||||
|
@@ -188,6 +188,7 @@ typedef xmlCharEncError
|
|||||||
typedef void
|
typedef void
|
||||||
(*xmlCharEncConvCtxtDtor)(void *vctxt);
|
(*xmlCharEncConvCtxtDtor)(void *vctxt);
|
||||||
|
|
||||||
|
/** Character encoding converter */
|
||||||
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
|
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
|
||||||
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
|
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
|
||||||
/**
|
/**
|
||||||
|
@@ -20,8 +20,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* The hash table.
|
* Hash table mapping strings to pointers
|
||||||
|
*
|
||||||
|
* Also supports lookup using two or three strings as key.
|
||||||
*/
|
*/
|
||||||
typedef struct _xmlHashTable xmlHashTable;
|
typedef struct _xmlHashTable xmlHashTable;
|
||||||
typedef xmlHashTable *xmlHashTablePtr;
|
typedef xmlHashTable *xmlHashTablePtr;
|
||||||
|
@@ -20,9 +20,19 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Linked list item
|
||||||
|
*
|
||||||
|
* @deprecated Don't use in new code.
|
||||||
|
*/
|
||||||
typedef struct _xmlLink xmlLink;
|
typedef struct _xmlLink xmlLink;
|
||||||
typedef xmlLink *xmlLinkPtr;
|
typedef xmlLink *xmlLinkPtr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Linked list
|
||||||
|
*
|
||||||
|
* @deprecated Don't use in new code.
|
||||||
|
*/
|
||||||
typedef struct _xmlList xmlList;
|
typedef struct _xmlList xmlList;
|
||||||
typedef xmlList *xmlListPtr;
|
typedef xmlList *xmlListPtr;
|
||||||
|
|
||||||
|
@@ -137,12 +137,6 @@ struct _xmlParserInput {
|
|||||||
|
|
||||||
/** @cond ignore */
|
/** @cond ignore */
|
||||||
|
|
||||||
/*
|
|
||||||
* The parser can be asked to collect Node information, i.e. at what
|
|
||||||
* place in the file they were detected.
|
|
||||||
*
|
|
||||||
* NOTE: This feature is off by default and deprecated.
|
|
||||||
*/
|
|
||||||
typedef struct _xmlParserNodeInfo xmlParserNodeInfo;
|
typedef struct _xmlParserNodeInfo xmlParserNodeInfo;
|
||||||
typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;
|
typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;
|
||||||
|
|
||||||
@@ -1181,6 +1175,11 @@ struct _xmlSAXHandler {
|
|||||||
xmlStructuredErrorFunc serror;
|
xmlStructuredErrorFunc serror;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SAX handler, version 1.
|
||||||
|
*
|
||||||
|
* @deprecated Use version 2 handlers.
|
||||||
|
*/
|
||||||
typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1;
|
typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1;
|
||||||
typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr;
|
typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr;
|
||||||
/**
|
/**
|
||||||
|
@@ -62,7 +62,7 @@ XMLPUBFUN int
|
|||||||
xmlPatternMatch (xmlPattern *comp,
|
xmlPatternMatch (xmlPattern *comp,
|
||||||
xmlNode *node);
|
xmlNode *node);
|
||||||
|
|
||||||
/* streaming interfaces */
|
/** State object for streaming interface */
|
||||||
typedef struct _xmlStreamCtxt xmlStreamCtxt;
|
typedef struct _xmlStreamCtxt xmlStreamCtxt;
|
||||||
typedef xmlStreamCtxt *xmlStreamCtxtPtr;
|
typedef xmlStreamCtxt *xmlStreamCtxtPtr;
|
||||||
|
|
||||||
|
@@ -25,6 +25,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** RelaxNG schema */
|
||||||
typedef struct _xmlRelaxNG xmlRelaxNG;
|
typedef struct _xmlRelaxNG xmlRelaxNG;
|
||||||
typedef xmlRelaxNG *xmlRelaxNGPtr;
|
typedef xmlRelaxNG *xmlRelaxNGPtr;
|
||||||
|
|
||||||
@@ -51,12 +52,11 @@ typedef void (*xmlRelaxNGValidityWarningFunc) (void *ctx,
|
|||||||
const char *msg,
|
const char *msg,
|
||||||
...) LIBXML_ATTR_FORMAT(2,3);
|
...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/** RelaxNG parser context */
|
||||||
* A schemas validation context
|
|
||||||
*/
|
|
||||||
typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
|
typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
|
||||||
typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr;
|
typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr;
|
||||||
|
|
||||||
|
/** RelaxNG validation context */
|
||||||
typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt;
|
typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt;
|
||||||
typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr;
|
typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr;
|
||||||
|
|
||||||
|
@@ -143,15 +143,19 @@ typedef enum {
|
|||||||
XML_SCHEMA_CONTENT_ANY
|
XML_SCHEMA_CONTENT_ANY
|
||||||
} xmlSchemaContentType;
|
} xmlSchemaContentType;
|
||||||
|
|
||||||
|
/** Schema value */
|
||||||
typedef struct _xmlSchemaVal xmlSchemaVal;
|
typedef struct _xmlSchemaVal xmlSchemaVal;
|
||||||
typedef xmlSchemaVal *xmlSchemaValPtr;
|
typedef xmlSchemaVal *xmlSchemaValPtr;
|
||||||
|
|
||||||
|
/** Schema type */
|
||||||
typedef struct _xmlSchemaType xmlSchemaType;
|
typedef struct _xmlSchemaType xmlSchemaType;
|
||||||
typedef xmlSchemaType *xmlSchemaTypePtr;
|
typedef xmlSchemaType *xmlSchemaTypePtr;
|
||||||
|
|
||||||
|
/** Schema facet */
|
||||||
typedef struct _xmlSchemaFacet xmlSchemaFacet;
|
typedef struct _xmlSchemaFacet xmlSchemaFacet;
|
||||||
typedef xmlSchemaFacet *xmlSchemaFacetPtr;
|
typedef xmlSchemaFacet *xmlSchemaFacetPtr;
|
||||||
|
|
||||||
|
/** Schema annotation */
|
||||||
typedef struct _xmlSchemaAnnot xmlSchemaAnnot;
|
typedef struct _xmlSchemaAnnot xmlSchemaAnnot;
|
||||||
typedef xmlSchemaAnnot *xmlSchemaAnnotPtr;
|
typedef xmlSchemaAnnot *xmlSchemaAnnotPtr;
|
||||||
/**
|
/**
|
||||||
@@ -222,6 +226,7 @@ struct _xmlSchemaAnnot {
|
|||||||
*/
|
*/
|
||||||
#define XML_SCHEMAS_ATTR_FIXED 1 << 9
|
#define XML_SCHEMAS_ATTR_FIXED 1 << 9
|
||||||
|
|
||||||
|
/** Schema attribute definition */
|
||||||
typedef struct _xmlSchemaAttribute xmlSchemaAttribute;
|
typedef struct _xmlSchemaAttribute xmlSchemaAttribute;
|
||||||
typedef xmlSchemaAttribute *xmlSchemaAttributePtr;
|
typedef xmlSchemaAttribute *xmlSchemaAttributePtr;
|
||||||
/**
|
/**
|
||||||
@@ -250,6 +255,7 @@ struct _xmlSchemaAttribute {
|
|||||||
xmlSchemaAttribute *refDecl; /* Deprecated; not used */
|
xmlSchemaAttribute *refDecl; /* Deprecated; not used */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Linked list of schema attributes */
|
||||||
typedef struct _xmlSchemaAttributeLink xmlSchemaAttributeLink;
|
typedef struct _xmlSchemaAttributeLink xmlSchemaAttributeLink;
|
||||||
typedef xmlSchemaAttributeLink *xmlSchemaAttributeLinkPtr;
|
typedef xmlSchemaAttributeLink *xmlSchemaAttributeLinkPtr;
|
||||||
/**
|
/**
|
||||||
@@ -266,6 +272,7 @@ struct _xmlSchemaAttributeLink {
|
|||||||
*/
|
*/
|
||||||
#define XML_SCHEMAS_WILDCARD_COMPLETE 1 << 0
|
#define XML_SCHEMAS_WILDCARD_COMPLETE 1 << 0
|
||||||
|
|
||||||
|
/** Namespace wildcard */
|
||||||
typedef struct _xmlSchemaWildcardNs xmlSchemaWildcardNs;
|
typedef struct _xmlSchemaWildcardNs xmlSchemaWildcardNs;
|
||||||
typedef xmlSchemaWildcardNs *xmlSchemaWildcardNsPtr;
|
typedef xmlSchemaWildcardNs *xmlSchemaWildcardNsPtr;
|
||||||
/**
|
/**
|
||||||
@@ -276,6 +283,7 @@ struct _xmlSchemaWildcardNs {
|
|||||||
const xmlChar *value;/* the value */
|
const xmlChar *value;/* the value */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Name wildcard */
|
||||||
typedef struct _xmlSchemaWildcard xmlSchemaWildcard;
|
typedef struct _xmlSchemaWildcard xmlSchemaWildcard;
|
||||||
typedef xmlSchemaWildcard *xmlSchemaWildcardPtr;
|
typedef xmlSchemaWildcard *xmlSchemaWildcardPtr;
|
||||||
/**
|
/**
|
||||||
@@ -317,6 +325,7 @@ struct _xmlSchemaWildcard {
|
|||||||
*/
|
*/
|
||||||
#define XML_SCHEMAS_ATTRGROUP_HAS_REFS 1 << 4
|
#define XML_SCHEMAS_ATTRGROUP_HAS_REFS 1 << 4
|
||||||
|
|
||||||
|
/** Attribute group */
|
||||||
typedef struct _xmlSchemaAttributeGroup xmlSchemaAttributeGroup;
|
typedef struct _xmlSchemaAttributeGroup xmlSchemaAttributeGroup;
|
||||||
typedef xmlSchemaAttributeGroup *xmlSchemaAttributeGroupPtr;
|
typedef xmlSchemaAttributeGroup *xmlSchemaAttributeGroupPtr;
|
||||||
/**
|
/**
|
||||||
@@ -344,6 +353,7 @@ struct _xmlSchemaAttributeGroup {
|
|||||||
void *attrUses;
|
void *attrUses;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Linked list of schema types */
|
||||||
typedef struct _xmlSchemaTypeLink xmlSchemaTypeLink;
|
typedef struct _xmlSchemaTypeLink xmlSchemaTypeLink;
|
||||||
typedef xmlSchemaTypeLink *xmlSchemaTypeLinkPtr;
|
typedef xmlSchemaTypeLink *xmlSchemaTypeLinkPtr;
|
||||||
/**
|
/**
|
||||||
@@ -355,6 +365,7 @@ struct _xmlSchemaTypeLink {
|
|||||||
xmlSchemaType *type;/* the linked type */
|
xmlSchemaType *type;/* the linked type */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Linked list of schema facets */
|
||||||
typedef struct _xmlSchemaFacetLink xmlSchemaFacetLink;
|
typedef struct _xmlSchemaFacetLink xmlSchemaFacetLink;
|
||||||
typedef xmlSchemaFacetLink *xmlSchemaFacetLinkPtr;
|
typedef xmlSchemaFacetLink *xmlSchemaFacetLinkPtr;
|
||||||
/**
|
/**
|
||||||
@@ -618,6 +629,7 @@ struct _xmlSchemaType {
|
|||||||
*/
|
*/
|
||||||
#define XML_SCHEMAS_ELEM_INTERNAL_CHECKED 1 << 18
|
#define XML_SCHEMAS_ELEM_INTERNAL_CHECKED 1 << 18
|
||||||
|
|
||||||
|
/** Schema element definition */
|
||||||
typedef struct _xmlSchemaElement xmlSchemaElement;
|
typedef struct _xmlSchemaElement xmlSchemaElement;
|
||||||
typedef xmlSchemaElement *xmlSchemaElementPtr;
|
typedef xmlSchemaElement *xmlSchemaElementPtr;
|
||||||
/**
|
/**
|
||||||
@@ -689,6 +701,7 @@ struct _xmlSchemaFacet {
|
|||||||
xmlRegexp *regexp; /* The regex for patterns */
|
xmlRegexp *regexp; /* The regex for patterns */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Schema notation */
|
||||||
typedef struct _xmlSchemaNotation xmlSchemaNotation;
|
typedef struct _xmlSchemaNotation xmlSchemaNotation;
|
||||||
typedef xmlSchemaNotation *xmlSchemaNotationPtr;
|
typedef xmlSchemaNotation *xmlSchemaNotationPtr;
|
||||||
/**
|
/**
|
||||||
|
@@ -45,9 +45,7 @@ typedef enum {
|
|||||||
XML_SCHEMATRON_OUT_IO = 1 << 10
|
XML_SCHEMATRON_OUT_IO = 1 << 10
|
||||||
} xmlSchematronValidOptions;
|
} xmlSchematronValidOptions;
|
||||||
|
|
||||||
/**
|
/** Schematron schema */
|
||||||
* The schemas related types are kept internal
|
|
||||||
*/
|
|
||||||
typedef struct _xmlSchematron xmlSchematron;
|
typedef struct _xmlSchematron xmlSchematron;
|
||||||
typedef xmlSchematron *xmlSchematronPtr;
|
typedef xmlSchematron *xmlSchematronPtr;
|
||||||
|
|
||||||
@@ -69,12 +67,11 @@ typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...)
|
|||||||
*/
|
*/
|
||||||
typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...);
|
typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...);
|
||||||
|
|
||||||
/**
|
/** Schematron parser context */
|
||||||
* A schemas validation context
|
|
||||||
*/
|
|
||||||
typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
|
typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
|
||||||
typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;
|
typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;
|
||||||
|
|
||||||
|
/** Schematron validation context */
|
||||||
typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
|
typedef struct _xmlSchematronValidCtxt xmlSchematronValidCtxt;
|
||||||
typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
|
typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
|
||||||
|
|
||||||
|
@@ -20,15 +20,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/** Mutual exclusion object */
|
||||||
* xmlMutex are a simple mutual exception locks.
|
|
||||||
*/
|
|
||||||
typedef struct _xmlMutex xmlMutex;
|
typedef struct _xmlMutex xmlMutex;
|
||||||
typedef xmlMutex *xmlMutexPtr;
|
typedef xmlMutex *xmlMutexPtr;
|
||||||
|
|
||||||
/*
|
/** Reentrant mutual exclusion object */
|
||||||
* xmlRMutex are reentrant mutual exception locks.
|
|
||||||
*/
|
|
||||||
typedef struct _xmlRMutex xmlRMutex;
|
typedef struct _xmlRMutex xmlRMutex;
|
||||||
typedef xmlRMutex *xmlRMutexPtr;
|
typedef xmlRMutex *xmlRMutexPtr;
|
||||||
|
|
||||||
|
@@ -52,26 +52,38 @@ extern "C" {
|
|||||||
* Some of the basic types pointer to structures:
|
* Some of the basic types pointer to structures:
|
||||||
*/
|
*/
|
||||||
/* xmlIO.h */
|
/* xmlIO.h */
|
||||||
|
/**
|
||||||
|
* Parser input buffer
|
||||||
|
*
|
||||||
|
* This struct and all related functions should ultimately
|
||||||
|
* be removed from the public interface.
|
||||||
|
*/
|
||||||
typedef struct _xmlParserInputBuffer xmlParserInputBuffer;
|
typedef struct _xmlParserInputBuffer xmlParserInputBuffer;
|
||||||
typedef xmlParserInputBuffer *xmlParserInputBufferPtr;
|
typedef xmlParserInputBuffer *xmlParserInputBufferPtr;
|
||||||
|
|
||||||
|
/** Output buffer */
|
||||||
typedef struct _xmlOutputBuffer xmlOutputBuffer;
|
typedef struct _xmlOutputBuffer xmlOutputBuffer;
|
||||||
typedef xmlOutputBuffer *xmlOutputBufferPtr;
|
typedef xmlOutputBuffer *xmlOutputBufferPtr;
|
||||||
|
|
||||||
/* parser.h */
|
/* parser.h */
|
||||||
|
/** Parser input */
|
||||||
typedef struct _xmlParserInput xmlParserInput;
|
typedef struct _xmlParserInput xmlParserInput;
|
||||||
typedef xmlParserInput *xmlParserInputPtr;
|
typedef xmlParserInput *xmlParserInputPtr;
|
||||||
|
|
||||||
|
/** Parser context */
|
||||||
typedef struct _xmlParserCtxt xmlParserCtxt;
|
typedef struct _xmlParserCtxt xmlParserCtxt;
|
||||||
typedef xmlParserCtxt *xmlParserCtxtPtr;
|
typedef xmlParserCtxt *xmlParserCtxtPtr;
|
||||||
|
|
||||||
|
/** SAX locator */
|
||||||
typedef struct _xmlSAXLocator xmlSAXLocator;
|
typedef struct _xmlSAXLocator xmlSAXLocator;
|
||||||
typedef xmlSAXLocator *xmlSAXLocatorPtr;
|
typedef xmlSAXLocator *xmlSAXLocatorPtr;
|
||||||
|
|
||||||
|
/** SAX handler */
|
||||||
typedef struct _xmlSAXHandler xmlSAXHandler;
|
typedef struct _xmlSAXHandler xmlSAXHandler;
|
||||||
typedef xmlSAXHandler *xmlSAXHandlerPtr;
|
typedef xmlSAXHandler *xmlSAXHandlerPtr;
|
||||||
|
|
||||||
/* entities.h */
|
/* entities.h */
|
||||||
|
/** Entity declaration */
|
||||||
typedef struct _xmlEntity xmlEntity;
|
typedef struct _xmlEntity xmlEntity;
|
||||||
typedef xmlEntity *xmlEntityPtr;
|
typedef xmlEntity *xmlEntityPtr;
|
||||||
|
|
||||||
@@ -87,6 +99,7 @@ typedef enum {
|
|||||||
XML_BUFFER_ALLOC_BOUNDED /* limit the upper size of the buffer */
|
XML_BUFFER_ALLOC_BOUNDED /* limit the upper size of the buffer */
|
||||||
} xmlBufferAllocationScheme;
|
} xmlBufferAllocationScheme;
|
||||||
|
|
||||||
|
/** Buffer type */
|
||||||
typedef struct _xmlBuffer xmlBuffer;
|
typedef struct _xmlBuffer xmlBuffer;
|
||||||
typedef xmlBuffer *xmlBufferPtr;
|
typedef xmlBuffer *xmlBufferPtr;
|
||||||
/**
|
/**
|
||||||
@@ -106,9 +119,7 @@ struct _xmlBuffer {
|
|||||||
xmlChar *contentIO XML_DEPRECATED_MEMBER;
|
xmlChar *contentIO XML_DEPRECATED_MEMBER;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/** Buffer with 64-bit support */
|
||||||
* A buffer structure, new one, the actual structure internals are not public
|
|
||||||
*/
|
|
||||||
typedef struct _xmlBuf xmlBuf;
|
typedef struct _xmlBuf xmlBuf;
|
||||||
typedef xmlBuf *xmlBufPtr;
|
typedef xmlBuf *xmlBufPtr;
|
||||||
|
|
||||||
@@ -266,6 +277,7 @@ typedef enum {
|
|||||||
#define XML_DOCB_DOCUMENT_NODE 21
|
#define XML_DOCB_DOCUMENT_NODE 21
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
|
/** Notation declaration */
|
||||||
typedef struct _xmlNotation xmlNotation;
|
typedef struct _xmlNotation xmlNotation;
|
||||||
typedef xmlNotation *xmlNotationPtr;
|
typedef xmlNotation *xmlNotationPtr;
|
||||||
/**
|
/**
|
||||||
@@ -309,6 +321,7 @@ typedef enum {
|
|||||||
XML_ATTRIBUTE_FIXED
|
XML_ATTRIBUTE_FIXED
|
||||||
} xmlAttributeDefault;
|
} xmlAttributeDefault;
|
||||||
|
|
||||||
|
/** Enumeration in a DTD */
|
||||||
typedef struct _xmlEnumeration xmlEnumeration;
|
typedef struct _xmlEnumeration xmlEnumeration;
|
||||||
typedef xmlEnumeration *xmlEnumerationPtr;
|
typedef xmlEnumeration *xmlEnumerationPtr;
|
||||||
/**
|
/**
|
||||||
@@ -324,6 +337,7 @@ struct _xmlEnumeration {
|
|||||||
const xmlChar *name XML_DEPRECATED_MEMBER;
|
const xmlChar *name XML_DEPRECATED_MEMBER;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Attribute declaration */
|
||||||
typedef struct _xmlAttribute xmlAttribute;
|
typedef struct _xmlAttribute xmlAttribute;
|
||||||
typedef xmlAttribute *xmlAttributePtr;
|
typedef xmlAttribute *xmlAttributePtr;
|
||||||
/**
|
/**
|
||||||
@@ -388,6 +402,7 @@ typedef enum {
|
|||||||
XML_ELEMENT_CONTENT_PLUS
|
XML_ELEMENT_CONTENT_PLUS
|
||||||
} xmlElementContentOccur;
|
} xmlElementContentOccur;
|
||||||
|
|
||||||
|
/** Element content in element declarations */
|
||||||
typedef struct _xmlElementContent xmlElementContent;
|
typedef struct _xmlElementContent xmlElementContent;
|
||||||
typedef xmlElementContent *xmlElementContentPtr;
|
typedef xmlElementContent *xmlElementContentPtr;
|
||||||
/**
|
/**
|
||||||
@@ -425,6 +440,7 @@ typedef enum {
|
|||||||
XML_ELEMENT_TYPE_ELEMENT
|
XML_ELEMENT_TYPE_ELEMENT
|
||||||
} xmlElementTypeVal;
|
} xmlElementTypeVal;
|
||||||
|
|
||||||
|
/** Element declaration */
|
||||||
typedef struct _xmlElement xmlElement;
|
typedef struct _xmlElement xmlElement;
|
||||||
typedef xmlElement *xmlElementPtr;
|
typedef xmlElement *xmlElementPtr;
|
||||||
/**
|
/**
|
||||||
@@ -476,6 +492,7 @@ struct _xmlElement {
|
|||||||
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
|
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
|
||||||
typedef xmlElementType xmlNsType;
|
typedef xmlElementType xmlNsType;
|
||||||
|
|
||||||
|
/** Namespace declaration */
|
||||||
typedef struct _xmlNs xmlNs;
|
typedef struct _xmlNs xmlNs;
|
||||||
typedef xmlNs *xmlNsPtr;
|
typedef xmlNs *xmlNsPtr;
|
||||||
/**
|
/**
|
||||||
@@ -506,6 +523,7 @@ struct _xmlNs {
|
|||||||
struct _xmlDoc *context XML_DEPRECATED_MEMBER;
|
struct _xmlDoc *context XML_DEPRECATED_MEMBER;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Document type definition (DTD) */
|
||||||
typedef struct _xmlDtd xmlDtd;
|
typedef struct _xmlDtd xmlDtd;
|
||||||
typedef xmlDtd *xmlDtdPtr;
|
typedef xmlDtd *xmlDtdPtr;
|
||||||
/**
|
/**
|
||||||
@@ -553,6 +571,7 @@ struct _xmlDtd {
|
|||||||
void *pentities XML_DEPRECATED_MEMBER;
|
void *pentities XML_DEPRECATED_MEMBER;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Attribute of an element */
|
||||||
typedef struct _xmlAttr xmlAttr;
|
typedef struct _xmlAttr xmlAttr;
|
||||||
typedef xmlAttr *xmlAttrPtr;
|
typedef xmlAttr *xmlAttrPtr;
|
||||||
/**
|
/**
|
||||||
@@ -587,6 +606,7 @@ struct _xmlAttr {
|
|||||||
struct _xmlID *id XML_DEPRECATED_MEMBER;
|
struct _xmlID *id XML_DEPRECATED_MEMBER;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Extra data for ID attributes */
|
||||||
typedef struct _xmlID xmlID;
|
typedef struct _xmlID xmlID;
|
||||||
typedef xmlID *xmlIDPtr;
|
typedef xmlID *xmlIDPtr;
|
||||||
/**
|
/**
|
||||||
@@ -630,6 +650,7 @@ struct _xmlRef {
|
|||||||
};
|
};
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
|
/** Generic node type in an XML or HTML tree */
|
||||||
typedef struct _xmlNode xmlNode;
|
typedef struct _xmlNode xmlNode;
|
||||||
typedef xmlNode *xmlNodePtr;
|
typedef xmlNode *xmlNodePtr;
|
||||||
/**
|
/**
|
||||||
@@ -749,6 +770,7 @@ typedef enum {
|
|||||||
XML_DOC_HTML = 1<<7
|
XML_DOC_HTML = 1<<7
|
||||||
} xmlDocProperties;
|
} xmlDocProperties;
|
||||||
|
|
||||||
|
/** XML or HTML document */
|
||||||
typedef struct _xmlDoc xmlDoc;
|
typedef struct _xmlDoc xmlDoc;
|
||||||
typedef xmlDoc *xmlDocPtr;
|
typedef xmlDoc *xmlDocPtr;
|
||||||
/**
|
/**
|
||||||
@@ -817,6 +839,7 @@ struct _xmlDoc {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/** Context for DOM wrapper operations */
|
||||||
typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
|
typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
|
||||||
typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr;
|
typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr;
|
||||||
|
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** Parsed URI */
|
||||||
typedef struct _xmlURI xmlURI;
|
typedef struct _xmlURI xmlURI;
|
||||||
typedef xmlURI *xmlURIPtr;
|
typedef xmlURI *xmlURIPtr;
|
||||||
/**
|
/**
|
||||||
|
@@ -65,6 +65,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
|
#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
|
||||||
|
|
||||||
|
/** XInclude context */
|
||||||
typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
|
typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
|
||||||
typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
|
typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
|
||||||
|
|
||||||
|
@@ -24,13 +24,15 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A libxml automata description, It can be compiled into a regexp
|
* A libxml automata description
|
||||||
|
*
|
||||||
|
* It can be compiled into a regexp
|
||||||
*/
|
*/
|
||||||
typedef struct _xmlAutomata xmlAutomata;
|
typedef struct _xmlAutomata xmlAutomata;
|
||||||
typedef xmlAutomata *xmlAutomataPtr;
|
typedef xmlAutomata *xmlAutomataPtr;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A state int the automata description,
|
* A state in the automata description
|
||||||
*/
|
*/
|
||||||
typedef struct _xmlAutomataState xmlAutomataState;
|
typedef struct _xmlAutomataState xmlAutomataState;
|
||||||
typedef xmlAutomataState *xmlAutomataStatePtr;
|
typedef xmlAutomataState *xmlAutomataStatePtr;
|
||||||
|
@@ -110,6 +110,7 @@ typedef enum {
|
|||||||
XML_FROM_URI
|
XML_FROM_URI
|
||||||
} xmlErrorDomain;
|
} xmlErrorDomain;
|
||||||
|
|
||||||
|
/** Structured error */
|
||||||
typedef struct _xmlError xmlError;
|
typedef struct _xmlError xmlError;
|
||||||
typedef xmlError *xmlErrorPtr;
|
typedef xmlError *xmlErrorPtr;
|
||||||
/**
|
/**
|
||||||
|
@@ -112,14 +112,8 @@ typedef enum {
|
|||||||
XML_READER_TYPE_XML_DECLARATION = 17
|
XML_READER_TYPE_XML_DECLARATION = 17
|
||||||
} xmlReaderTypes;
|
} xmlReaderTypes;
|
||||||
|
|
||||||
/**
|
/** xmlReader context */
|
||||||
* Structure for an xmlReader context.
|
|
||||||
*/
|
|
||||||
typedef struct _xmlTextReader xmlTextReader;
|
typedef struct _xmlTextReader xmlTextReader;
|
||||||
|
|
||||||
/**
|
|
||||||
* Pointer to an xmlReader context.
|
|
||||||
*/
|
|
||||||
typedef xmlTextReader *xmlTextReaderPtr;
|
typedef xmlTextReader *xmlTextReaderPtr;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -86,6 +86,7 @@ typedef enum {
|
|||||||
XML_SAVE_INDENT = 1<<10
|
XML_SAVE_INDENT = 1<<10
|
||||||
} xmlSaveOption;
|
} xmlSaveOption;
|
||||||
|
|
||||||
|
/** XML and HTML serializer */
|
||||||
typedef struct _xmlSaveCtxt xmlSaveCtxt;
|
typedef struct _xmlSaveCtxt xmlSaveCtxt;
|
||||||
typedef xmlSaveCtxt *xmlSaveCtxtPtr;
|
typedef xmlSaveCtxt *xmlSaveCtxtPtr;
|
||||||
|
|
||||||
|
@@ -83,9 +83,7 @@ typedef enum {
|
|||||||
* xsi:noNamespaceSchemaLocation
|
* xsi:noNamespaceSchemaLocation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/** XML schema */
|
||||||
* The schemas related types are kept internal
|
|
||||||
*/
|
|
||||||
typedef struct _xmlSchema xmlSchema;
|
typedef struct _xmlSchema xmlSchema;
|
||||||
typedef xmlSchema *xmlSchemaPtr;
|
typedef xmlSchema *xmlSchemaPtr;
|
||||||
|
|
||||||
@@ -109,12 +107,11 @@ typedef void (*xmlSchemaValidityErrorFunc)
|
|||||||
typedef void (*xmlSchemaValidityWarningFunc)
|
typedef void (*xmlSchemaValidityWarningFunc)
|
||||||
(void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
(void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
||||||
|
|
||||||
/**
|
/** Schema parser context */
|
||||||
* A schemas validation context
|
|
||||||
*/
|
|
||||||
typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
|
typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
|
||||||
typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
|
typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
|
||||||
|
|
||||||
|
/** Schema validation context */
|
||||||
typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt;
|
typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt;
|
||||||
typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
|
typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
|
||||||
|
|
||||||
@@ -224,7 +221,7 @@ XMLPUBFUN int
|
|||||||
XMLPUBFUN xmlParserCtxt *
|
XMLPUBFUN xmlParserCtxt *
|
||||||
xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxt *ctxt);
|
xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxt *ctxt);
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Interface to insert Schemas SAX validation in a SAX stream
|
* Interface to insert Schemas SAX validation in a SAX stream
|
||||||
*/
|
*/
|
||||||
typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
|
typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
|
||||||
|
@@ -26,6 +26,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** Writer object */
|
||||||
typedef struct _xmlTextWriter xmlTextWriter;
|
typedef struct _xmlTextWriter xmlTextWriter;
|
||||||
typedef xmlTextWriter *xmlTextWriterPtr;
|
typedef xmlTextWriter *xmlTextWriterPtr;
|
||||||
|
|
||||||
|
@@ -34,8 +34,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** XPath context */
|
||||||
typedef struct _xmlXPathContext xmlXPathContext;
|
typedef struct _xmlXPathContext xmlXPathContext;
|
||||||
typedef xmlXPathContext *xmlXPathContextPtr;
|
typedef xmlXPathContext *xmlXPathContextPtr;
|
||||||
|
/** XPath parser and evaluation context */
|
||||||
typedef struct _xmlXPathParserContext xmlXPathParserContext;
|
typedef struct _xmlXPathParserContext xmlXPathParserContext;
|
||||||
typedef xmlXPathParserContext *xmlXPathParserContextPtr;
|
typedef xmlXPathParserContext *xmlXPathParserContextPtr;
|
||||||
|
|
||||||
@@ -73,6 +75,7 @@ typedef enum {
|
|||||||
XPATH_RECURSION_LIMIT_EXCEEDED
|
XPATH_RECURSION_LIMIT_EXCEEDED
|
||||||
} xmlXPathError;
|
} xmlXPathError;
|
||||||
|
|
||||||
|
/** XPath node set */
|
||||||
typedef struct _xmlNodeSet xmlNodeSet;
|
typedef struct _xmlNodeSet xmlNodeSet;
|
||||||
typedef xmlNodeSet *xmlNodeSetPtr;
|
typedef xmlNodeSet *xmlNodeSetPtr;
|
||||||
/**
|
/**
|
||||||
@@ -112,6 +115,7 @@ typedef enum {
|
|||||||
#define XPATH_LOCATIONSET 7
|
#define XPATH_LOCATIONSET 7
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
|
/** XPath object */
|
||||||
typedef struct _xmlXPathObject xmlXPathObject;
|
typedef struct _xmlXPathObject xmlXPathObject;
|
||||||
typedef xmlXPathObject *xmlXPathObjectPtr;
|
typedef xmlXPathObject *xmlXPathObjectPtr;
|
||||||
/**
|
/**
|
||||||
@@ -352,16 +356,15 @@ struct _xmlXPathContext {
|
|||||||
int depth;
|
int depth;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/** Compiled XPath expression */
|
||||||
* The structure of a compiled expression form is not public.
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
|
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
|
||||||
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
|
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An XPath parser context. It contains pure parsing information,
|
* An XPath parser context. It contains pure parsing information,
|
||||||
* an xmlXPathContext, and the stack of objects.
|
* an xmlXPathContext, and the stack of objects.
|
||||||
|
*
|
||||||
|
* This struct is used for evaluation as well and misnamed.
|
||||||
*/
|
*/
|
||||||
struct _xmlXPathParserContext {
|
struct _xmlXPathParserContext {
|
||||||
/* the current char being parsed */
|
/* the current char being parsed */
|
||||||
|
Reference in New Issue
Block a user