Type Alias simics_api_sys::scsi_disk_command_hap_callback

source ·
pub type scsi_disk_command_hap_callback = Option<unsafe extern "C" fn(callback_data: *mut lang_void, trigger_obj: *mut conf_object_t, command_number: int64, start: int64, len: int64)>;
Expand description

Index: command_number Description: Triggered when a SCSI command is received by a SCSI device. The parameters

Aliased Type§

enum scsi_disk_command_hap_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut conf_object, _: i64, _: i64, _: i64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut conf_object, _: i64, _: i64, _: i64))

Some value of type T.