MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXIncludeSetErrorHandler

Function xmlXIncludeSetErrorHandler

ThirdParty/libxml2/vtklibxml2/xinclude.c:2251–2258  ·  view source on GitHub ↗

* xmlXIncludeSetErrorHandler: * @ctxt: an XInclude processing context * @handler: error handler * @data: user data which will be passed to the handler * * Register a callback function that will be called on errors and * warnings. If handler is NULL, the error handler will be deactivated. * * Available since 2.13.0. */

Source from the content-addressed store, hash-verified

2249 * Available since 2.13.0.
2250 */
2251void
2252xmlXIncludeSetErrorHandler(xmlXIncludeCtxtPtr ctxt,
2253 xmlStructuredErrorFunc handler, void *data) {
2254 if (ctxt == NULL)
2255 return;
2256 ctxt->errorHandler = handler;
2257 ctxt->errorCtxt = data;
2258}
2259
2260/**
2261 * xmlXIncludeSetFlags:

Callers 2

xmlTextReaderReadFunction · 0.85
errParseTestFunction · 0.85

Calls

no outgoing calls

Tested by 1

errParseTestFunction · 0.68