Registers the callback function being called if the parser detects any issues.
a #GMimeParserWarningFunc or null to clear the callback
Registers the callback function being called if the parser detects any issues.