Name

ap_bonerror — register an error function

Synopsis

void ap_bonerror(BUFF *fb, void (*error) (BUFF *, int, void *),void *data)

When an error occurs on fb, error( ) is called with fb, the direction (B_RD or B_WR), and data.