librdf_parser_set_error

Name

librdf_parser_set_error --  Set the parser error handling function

Synopsis

void librdf_parser_set_error (librdf_parser* parser, void * user_data, void (*error_fn) (void *user_data, const char *msg, ...));

Arguments

parser

the parser

user_data

user data to pass to function

error_fn

pointer to the function

Description

The function will receive callbacks when the parser fails.