Namespace
GUsb – 1.0
GUsb is a GLib wrapper for libusb1
Dependencies
GObject—2.0 | The base type system library |
Browse documentation | |
Gio—2.0 | A modern, easy-to-use VFS API |
Browse documentation | |
Json—1.0 | API for efficient parsing and writing of JSON (JavaScript Object Notation) streams |
Browse documentation |
Classes
BosDescriptor |
unstable since: 1.0 |
Context |
unstable since: 1.0 |
Device |
unstable since: 1.0 |
DeviceEvent |
unstable since: 1.0 |
DeviceList |
unstable since: 1.0 |
Endpoint |
unstable since: 1.0 |
Interface |
unstable since: 1.0 |
Structs
Source |
unstable since: 1.0 |
Enumerations
ContextError |
unstable since: 1.0 |
DeviceClassCode |
The USB device class. unstable since: 1.0 |
DeviceDirection |
The message direction. unstable since: 1.0 |
DeviceError |
The error code. unstable since: 1.0 |
DeviceLangid |
The USB language ID. unstable since: 1.0 |
DeviceRecipient |
The message recipient. unstable since: 1.0 |
DeviceRequestType |
The message request type. unstable since: 1.0 |
Bitfields
ContextFlags |
The flags to use for the context. unstable since: 1.0 |
DeviceClaimInterfaceFlags |
Flags for the g_usb_device_claim_interface and g_usb_device_release_interface methods flags parameters. unstable since: 1.0 |
Error Domains
SourceError |
The error code. unstable since: 1.0 |
Functions
strerror |
Converts the error code into a string. since: 0.1.0 |
version_string |
Gets the GUsb installed runtime version. since: 0.3.1 |
Function Macros
CHECK_VERSION |
Check whether a gusb version equal to or greater than major.minor.micro. unstable since: 1.0 |
Constants
MAJOR_VERSION |
The compile-time major version. unstable since: 1.0 |
MICRO_VERSION |
The compile-time micro version. unstable since: 1.0 |
MINOR_VERSION |
The compile-time minor version. unstable since: 1.0 |