diff options
author | Mike Hommey <glandium@debian.org> | 2006-06-08 22:38:16 +0200 |
---|---|---|
committer | Mike Hommey <glandium@debian.org> | 2006-06-08 22:38:16 +0200 |
commit | ef381f99921ea9fe00a07836b93f2a2bf865ca17 (patch) | |
tree | 62ec8494b6ba15713636b2731dd2f39cda762bc6 /include/libxml/xpath.h | |
parent | 6b7b7b4a4490d2cde163e9d5fe7c04ce540022b0 (diff) | |
parent | a7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae (diff) | |
download | libxml2-debian/2.6.26.dfsg-1.tar.gz |
* New upstream release.debian/2.6.26.dfsg-1
* debian/rules:
+ Added -fno-strict-aliasing to the CFLAGS.
+ Use dpkg-architecture to feed configure.
+ Bumped shlibs to current version, since new symbol for XPath cache has
been added.
* debian/control: Bumped Standards-Version to 3.7.2.0. No changes required.
Diffstat (limited to 'include/libxml/xpath.h')
-rw-r--r-- | include/libxml/xpath.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h index 76473a6..febbf78 100644 --- a/include/libxml/xpath.h +++ b/include/libxml/xpath.h @@ -35,6 +35,7 @@ extern "C" { #endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED */ #ifdef LIBXML_XPATH_ENABLED + typedef struct _xmlXPathContext xmlXPathContext; typedef xmlXPathContext *xmlXPathContextPtr; typedef struct _xmlXPathParserContext xmlXPathParserContext; @@ -342,7 +343,9 @@ 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; }; /* @@ -485,9 +488,13 @@ XMLPUBFUN xmlXPathObjectPtr XMLCALL */ XMLPUBFUN xmlXPathContextPtr XMLCALL xmlXPathNewContext (xmlDocPtr doc); -XMLPUBFUN void XMLCALL +XMLPUBFUN void XMLCALL xmlXPathFreeContext (xmlXPathContextPtr ctxt); - +XMLPUBFUN int XMLCALL + xmlXPathContextSetCache(xmlXPathContextPtr ctxt, + int active, + int value, + int options); /** * Evaluation functions. */ |