Added support for list-devices on FreeBSD.

This commit is contained in:
2017-12-08 03:19:28 +00:00
parent f9e9bb4db0
commit c7d187b298
7 changed files with 300 additions and 10 deletions

View File

@@ -64,6 +64,9 @@ namespace DiscImageChef.Devices.FreeBSD
[DllImport("libcam", CharSet = CharSet.Ansi, SetLastError = true)]
internal static extern int cam_send_ccb(IntPtr dev, IntPtr ccb);
[DllImport("libc")]
internal static extern int ioctl(int fd, FreebsdIoctl request, IntPtr argp);
}
}