mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Devices/Command.cs:
Add skeleton for send SCSI command method. * DiscImageChef.Devices/Linux/Command.cs: * DiscImageChef.Devices/Windows/Command.cs: Added per-platform send SCSI command method. * DiscImageChef.sln: * DiscImageChef.Interop/DetectOS.cs: * DiscImageChef.Interop/PlatformID.cs: * DiscImageChef.Interop/Properties/AssemblyInfo.cs: * DiscImageChef.Interop/DiscImageChef.Interop.csproj: Added code to detect OS. * DiscImageChef.Devices/DiscImageChef.Devices.csproj: Added per-platform send SCSI command method. Add skeleton for send SCSI command method. * DiscImageChef.Devices/Linux/Extern.cs: * DiscImageChef.Devices/Windows/Extern.cs: Enhanced externs. * DiscImageChef.Devices/Linux/Structs.cs: Typo.
This commit is contained in:
@@ -10,11 +10,11 @@ namespace DiscImageChef.Devices.Linux
|
||||
/// Always 'S' for SG v3
|
||||
/// </summary>
|
||||
public int interface_id; /* [i] 'S' (required) */
|
||||
public int dxfer_direction; /* [i] */
|
||||
public ScsiIoctlDirection dxfer_direction; /* [i] */
|
||||
public byte cmd_len; /* [i] */
|
||||
public byte mx_sb_len; /* [i] */
|
||||
public ushort iovec_count; /* [i] */
|
||||
public ScsiIoctlDirection dxfer_len; /* [i] */
|
||||
public uint dxfer_len; /* [i] */
|
||||
public IntPtr dxferp; /* [i], [*io] */
|
||||
public IntPtr cmdp; /* [i], [*i] */
|
||||
public IntPtr sbp; /* [i], [*o] */
|
||||
|
||||
Reference in New Issue
Block a user