scsir 0.3.0

A simple library for issuing SCSI commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use windows::Win32::Storage::IscsiDisc::SCSI_PASS_THROUGH_DIRECT;

use crate::command::sense::MAX_SENSE_BUFFER_LENGTH;

#[repr(C)]
pub struct ScsiPassThroughDirectWrapper {
    pub scsi_pass_through: SCSI_PASS_THROUGH_DIRECT,
    pub sense: [u8; MAX_SENSE_BUFFER_LENGTH],
}

impl Default for ScsiPassThroughDirectWrapper {
    fn default() -> Self {
        unsafe { std::mem::zeroed() }
    }
}