extern re_ErrorHandler KADMOS_API re_SetErrorHandler (re_ErrorHandler herror); extern re_wErrorHandler KADMOS_API re_wSetErrorHandler (re_wErrorHandler herror);
herror
The last private error function if any, NULL
else.
KADMOS provides the possibility to install a user defined error handler. This error handler must have the type of
re_ErrorHandler
or re_wErrorHandler respectivly
. This function is installed with a call of
re_SetErrorHandler()
or re_wSetErrorHandler()
. After an error in KADMOS the private error
function is called without any other error handling except program termination or return. This function returns the
installed, private error function or NULL
. A private error handler can be deactivated by a call of
re_SetErrorHandler()
or re_wSetErrorHandler()
with a value NULL
. The function
re_GetErrorHandler()
or re_wGetErrorHandler()
return a pointer to the set ErrorHandler
.