Lines Matching defs:handler
68 * Default handler for out of context error messages.
84 * @handler: the handler
86 * Set or reset (if NULL) the default handler for generic errors
90 initGenericErrorDefaultFunc(xmlGenericErrorFunc * handler)
92 if (handler == NULL)
95 xmlGenericError = (*handler);
101 * @handler: the new handler function
103 * Function to reset the handler and the error context for out of
105 * This simply means that @handler will be called for subsequent
107 * be passed as first argument to @handler
109 * stderr by setting @ctx to this file handle and @handler to NULL.
113 xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
115 if (handler != NULL)
116 xmlGenericError = handler;
124 * @handler: the new handler function
126 * Function to reset the handler and the error context for out of
128 * This simply means that @handler will be called for subsequent
130 * be passed as first argument to @handler
134 xmlSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler) {
136 xmlStructuredError = handler;
438 * error callback handler
466 * Check if structured error handler set
471 * if user has defined handler, change data ptr to user's choice