* 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. */
| 2249 | * Available since 2.13.0. |
| 2250 | */ |
| 2251 | void |
| 2252 | xmlXIncludeSetErrorHandler(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: |
no outgoing calls