Type Definition libxml::bindings::xmlValidityErrorFunc[][src]

type xmlValidityErrorFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, msg: *const c_char, ...)>;

xmlValidityErrorFunc: @ctx: usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. @msg: the string to format *printf like vararg @…: remaining arguments to the format

Callback called when a validity error is found. This is a message oriented function similar to an *printf function.