Top | ![]() |
![]() |
![]() |
![]() |
This object is a thin glib wrapper around a libusb_interface_descriptor.
All the data is copied when the object is created and the original descriptor can be destoyed any at point.
guint8
g_usb_interface_get_length (GUsbInterface *interface
);
Gets the USB bus number for the interface.
Since: 0.2.8
guint8
g_usb_interface_get_kind (GUsbInterface *interface
);
Gets the type of interface.
Since: 0.2.8
guint8
g_usb_interface_get_number (GUsbInterface *interface
);
Gets the interface number.
Since: 0.2.8
guint8
g_usb_interface_get_alternate (GUsbInterface *interface
);
Gets the alternate setting for the interface.
Since: 0.2.8
guint8
g_usb_interface_get_class (GUsbInterface *interface
);
Gets the interface class, typically a GUsbInterfaceClassCode.
Since: 0.2.8
guint8
g_usb_interface_get_subclass (GUsbInterface *interface
);
Gets the interface subclass qualified by the class number.
See g_usb_interface_get_class()
.
Since: 0.2.8
guint8
g_usb_interface_get_protocol (GUsbInterface *interface
);
Gets the interface protocol qualified by the class and subclass numbers.
See g_usb_interface_get_class()
and g_usb_interface_get_subclass()
.
Since: 0.2.8
guint8
g_usb_interface_get_index (GUsbInterface *interface
);
Gets the index for the string descriptor.
Since: 0.2.8
GBytes *
g_usb_interface_get_extra (GUsbInterface *interface
);
Gets any extra data from the interface.
Since: 0.2.8