Package com.sun.jna.platform.linux
Class Udev.UdevListEntry
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.linux.Udev.UdevListEntry
- All Implemented Interfaces:
NativeMapped
- Enclosing interface:
- Udev
Whenever libudev returns a list of objects, the
udev_list_entry
API
should be used to iterate, access and modify those lists.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Constructor Details
-
UdevListEntry
public UdevListEntry()
-
-
Method Details
-
getNext
Gets the next entry in the enumeration.- Returns:
- On success, returns the next list entry. If no such entry can be found, or on failure, NULL is returned.
-
getName
Get the name of this entry, which is the path of the device in/sys
.- Returns:
- A string representing the syspath. On failure, NULL is returned.
-