Class DiskArbitrationFunctions
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.mac.MacForeignFunctions
oshi.ffm.mac.DiskArbitrationFunctions
-
Field Summary
Fields inherited from class MacForeignFunctions
FRAMEWORK_SEARCH_PATHSFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, SYMBOL_LOOKUP -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentstatic MemorySegmentDADiskCreateFromBSDName(MemorySegment allocator, MemorySegment session, MemorySegment bsdName) static MemorySegmentDADiskCreateFromIOMedia(MemorySegment allocator, MemorySegment session, MemorySegment media) static MemorySegmentstatic MemorySegmentDASessionCreate(MemorySegment allocator) Methods inherited from class MacForeignFunctions
frameworkLookupMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Method Details
-
DASessionCreate
- Throws:
Throwable
-
DADiskCreateFromBSDName
public static MemorySegment DADiskCreateFromBSDName(MemorySegment allocator, MemorySegment session, MemorySegment bsdName) throws Throwable - Throws:
Throwable
-
DADiskCreateFromIOMedia
public static MemorySegment DADiskCreateFromIOMedia(MemorySegment allocator, MemorySegment session, MemorySegment media) throws Throwable - Throws:
Throwable
-
DADiskCopyDescription
- Throws:
Throwable
-
DADiskGetBSDName
- Throws:
Throwable
-