| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef __XML_XPTR_H__ |
| | #define __XML_XPTR_H__ |
| |
|
| | #include <libxml/xmlversion.h> |
| |
|
| | #ifdef LIBXML_XPTR_ENABLED |
| |
|
| | #include <libxml/tree.h> |
| | #include <libxml/xpath.h> |
| |
|
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| |
|
| | #ifdef LIBXML_XPTR_LOCS_ENABLED |
| | |
| | |
| | |
| | typedef struct _xmlLocationSet xmlLocationSet; |
| | typedef xmlLocationSet *xmlLocationSetPtr; |
| | struct _xmlLocationSet { |
| | int locNr; |
| | int locMax; |
| | xmlXPathObjectPtr *locTab; |
| | }; |
| |
|
| | |
| | |
| | |
| |
|
| | XML_DEPRECATED |
| | XMLPUBFUN xmlLocationSetPtr |
| | xmlXPtrLocationSetCreate (xmlXPathObjectPtr val); |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrFreeLocationSet (xmlLocationSetPtr obj); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlLocationSetPtr |
| | xmlXPtrLocationSetMerge (xmlLocationSetPtr val1, |
| | xmlLocationSetPtr val2); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRange (xmlNodePtr start, |
| | int startindex, |
| | xmlNodePtr end, |
| | int endindex); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRangePoints (xmlXPathObjectPtr start, |
| | xmlXPathObjectPtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRangeNodePoint (xmlNodePtr start, |
| | xmlXPathObjectPtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRangePointNode (xmlXPathObjectPtr start, |
| | xmlNodePtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRangeNodes (xmlNodePtr start, |
| | xmlNodePtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewLocationSetNodes (xmlNodePtr start, |
| | xmlNodePtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewLocationSetNodeSet(xmlNodeSetPtr set); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewRangeNodeObject (xmlNodePtr start, |
| | xmlXPathObjectPtr end); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrNewCollapsedRange (xmlNodePtr start); |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrLocationSetAdd (xmlLocationSetPtr cur, |
| | xmlXPathObjectPtr val); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrWrapLocationSet (xmlLocationSetPtr val); |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrLocationSetDel (xmlLocationSetPtr cur, |
| | xmlXPathObjectPtr val); |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrLocationSetRemove (xmlLocationSetPtr cur, |
| | int val); |
| | #endif |
| |
|
| | |
| | |
| | |
| | XMLPUBFUN xmlXPathContextPtr |
| | xmlXPtrNewContext (xmlDocPtr doc, |
| | xmlNodePtr here, |
| | xmlNodePtr origin); |
| | XMLPUBFUN xmlXPathObjectPtr |
| | xmlXPtrEval (const xmlChar *str, |
| | xmlXPathContextPtr ctx); |
| | #ifdef LIBXML_XPTR_LOCS_ENABLED |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrRangeToFunction (xmlXPathParserContextPtr ctxt, |
| | int nargs); |
| | XML_DEPRECATED |
| | XMLPUBFUN xmlNodePtr |
| | xmlXPtrBuildNodeList (xmlXPathObjectPtr obj); |
| | XML_DEPRECATED |
| | XMLPUBFUN void |
| | xmlXPtrEvalRangePredicate (xmlXPathParserContextPtr ctxt); |
| | #endif |
| | #ifdef __cplusplus |
| | } |
| | #endif |
| |
|
| | #endif |
| | #endif |
| |
|