diff options
Diffstat (limited to 'include/libxml/xpath.h')
| -rw-r--r-- | include/libxml/xpath.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h index febbf78..89008fc 100644 --- a/include/libxml/xpath.h +++ b/include/libxml/xpath.h @@ -343,7 +343,8 @@ struct _xmlXPathContext { /* dictionnary */ xmlDictPtr dict; /* dictionnary if any */ - int flags; /* flags to control compilation */
+ int flags; /* flags to control compilation */ + /* Cache for reusal of XPath objects */ void *cache; }; @@ -520,6 +521,9 @@ XMLPUBFUN xmlXPathCompExprPtr XMLCALL XMLPUBFUN xmlXPathObjectPtr XMLCALL xmlXPathCompiledEval (xmlXPathCompExprPtr comp, xmlXPathContextPtr ctx); +XMLPUBFUN int XMLCALL + xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp, + xmlXPathContextPtr ctxt); XMLPUBFUN void XMLCALL xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp); #endif /* LIBXML_XPATH_ENABLED */ |
