void librdf_parser_set_error (librdf_parser* parser, void * user_data, void (*error_fn) (void *user_data, const char *msg, ...));
void librdf_parser_set_error
the parser
user data to pass to function
pointer to the function
The function will receive callbacks when the parser fails.