1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

added a function lookup framework

* xpath.c include/libxml/xpath{,Internals}.h: added a function
	  lookup framework
This commit is contained in:
Thomas Broyer
2001-07-26 16:55:21 +00:00
parent 1d0bfab330
commit ba4ad3263b
4 changed files with 62 additions and 2 deletions

View File

@@ -319,6 +319,18 @@ void xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt,
xmlXPathVariableLookupFunc f,
void *varCtxt);
/*
* Function Lookup forwarding
*/
typedef xmlXPathFunction
(*xmlXPathFuncLookupFunc) (void *ctxt,
const xmlChar *name,
const xmlChar *ns_uri);
void xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt,
xmlXPathFuncLookupFunc f,
void *funcCtxt);
/*
* Error reporting
*/