gusb Reference Manual
gusb
Description:
GLib wrapper around libusb-1.0
Content:
Namespaces:
GUsb
Classes:
Context
Device
DeviceList
Endpoint
Interface
Source
Enums:
ContextError
ContextFlags
-
The flags to use for the context.
DeviceClaimInterfaceFlags
-
Flags for the g_usb_device_claim_interface and g_usb_device_release_interface methods flags parameters.
DeviceClassCode
-
The USB device class.
DeviceDirection
-
The message direction.
DeviceError
-
The error code.
DeviceLangid
-
The USB language ID.
DeviceRecipient
-
The message recipient.
DeviceRequestType
-
The message request type.
Error domains:
SourceError
-
The error code.
Constants:
public
const
int
MAJOR_VERSION
The compile-time major version
public
const
int
MICRO_VERSION
The compile-time micro version
public
const
int
MINOR_VERSION
The compile-time minor version
Methods:
public
unowned
string
strerror
(
int
error_code)
Converts the error code into a string
public
unowned
string
version_string
()
Gets the GUsb installed runtime version.
2022 vala-language.org