[−][src]Function cantact::c::cantact_set_rx_callback
#[no_mangle]pub unsafe extern "C" fn cantact_set_rx_callback(
ptr: *mut CInterface,
cb: Option<extern "C" fn(_: *const CFrame)>
) -> i32
Set the receive callback function. This function will be called when a frame is received.