summaryrefslogtreecommitdiff
path: root/gusb/gusb-device.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-10-10 15:26:36 +0100
committerRichard Hughes <richard@hughsie.com>2011-10-10 15:26:36 +0100
commit998cf93dabec106a784ec01d2ec9f660263fc5a5 (patch)
treefae087f73c9c4d9c412a20d0dcaff42571c1a04b /gusb/gusb-device.h
parent2b628855808b391cebe6a8831bec0ba40bd2ed91 (diff)
downloadgusb-998cf93dabec106a784ec01d2ec9f660263fc5a5.tar.gz
Add g_usb_device_get_platform_id which returns the sysfs path on Linux
Diffstat (limited to 'gusb/gusb-device.h')
-rw-r--r--gusb/gusb-device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gusb/gusb-device.h b/gusb/gusb-device.h
index 35bbd1a..661ef9b 100644
--- a/gusb/gusb-device.h
+++ b/gusb/gusb-device.h
@@ -119,6 +119,8 @@ struct _GUsbDeviceClass
GType g_usb_device_get_type (void);
GQuark g_usb_device_error_quark (void);
+const gchar *g_usb_device_get_platform_id (GUsbDevice *device);
+
guint8 g_usb_device_get_bus (GUsbDevice *device);
guint8 g_usb_device_get_address (GUsbDevice *device);