Function zbar::zbar::zbar_image_scanner_set_data_handler [] [src]

pub unsafe extern "C" fn zbar_image_scanner_set_data_handler(
    scanner: *mut zbar_image_scanner_t,
    handler: *mut zbar_image_data_handler_t,
    userdata: c_void
) -> zbar_image_data_handler_t

setup result handler callback * the specified function will be called by the scanner whenever new results are available from * a decoded image. pass a NULL value to disable callbacks. * @returns the previously-registered handler