Top |
OsinfoDeviceLink is an entity representing some kind of hardware devicelink. DeviceLinks can be associated with operating systems and platforms.
OsinfoDeviceLink *
osinfo_devicelink_new (OsinfoDevice *target
);
Construct a new link for an OsinfoDevice. The unique ID of the link is set to match the ID of the target device.
OsinfoDevice *
osinfo_devicelink_get_target (OsinfoDeviceLink *link
);
Retrieve the OsinfoDevice that the link points to.
const gchar *
osinfo_devicelink_get_driver (OsinfoDeviceLink *link
);
“target”
property“target” OsinfoDevice *
The target of the device link.
Flags: Read / Write / Construct Only