mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added IOCTL skeletons.
This commit is contained in:
20
DiscImageChef.Devices/Linux/Enums.cs
Normal file
20
DiscImageChef.Devices/Linux/Enums.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace DiscImageChef.Devices.Linux
|
||||
{
|
||||
static class Enums
|
||||
{
|
||||
internal const int O_RDONLY = 0;
|
||||
internal const int O_RDWR = 2;
|
||||
|
||||
internal const ulong SG_GET_VERSION_NUM = 0x2282;
|
||||
internal const ulong SG_IO = 0x2285;
|
||||
|
||||
internal const int SG_DXFER_FROM_DEV = -3;
|
||||
|
||||
internal const uint SG_INFO_OK_MASK = 0x1;
|
||||
internal const uint SG_INFO_OK = 0x0; /* no sense, host nor driver "noise" */
|
||||
internal const uint SG_INFO_CHECK = 0x1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user