diff options
| author | Mike Hommey <glandium@debian.org> | 2006-10-26 11:17:37 +0200 |
|---|---|---|
| committer | Mike Hommey <glandium@debian.org> | 2006-10-26 11:17:37 +0200 |
| commit | 968041a8b2ec86c39b5074024ce97d136ecd9a95 (patch) | |
| tree | 6971d7bce63213fd376b0e66311d0c67a8da4d64 /include/libxml/xpath.h | |
| parent | a7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae (diff) | |
| download | libxml2-upstream/2.6.27.dfsg.tar.gz | |
Load /tmp/libxml2-2.6.27 intoupstream/2.6.27.dfsg
libxml2/branches/upstream/current.
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 */ |
