/* Set or reset (if NULL) the default handler for generic errors to the builtin error function.  */
void initGenericErrorDefaultFunc(xmlGenericErrorFunc *handler)
/* Set or reset (if NULL) the default handler for generic errors to the builtin error function.  */
void initGenericErrorDefaultFunc(xmlGenericErrorFunc *handler)
{
    if (handler == NULL)
        xmlGenericError = xmlGenericErrorDefaultFunc;
    else
        xmlGenericError = (*handler);
}