summaryrefslogtreecommitdiff
path: root/gusb/gusb-device.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-09-05 13:03:56 +0100
committerRichard Hughes <richard@hughsie.com>2022-09-05 13:31:26 +0100
commit28c2e67e8f91e357c264f97c4cc4201e45fcb880 (patch)
tree3a6073af59971cc9ae9539edbc977cf5c2916729 /gusb/gusb-device.h
parent7f0a5e27f5007fcc17272da7483b283f862592a4 (diff)
downloadgusb-28c2e67e8f91e357c264f97c4cc4201e45fcb880.tar.gz
Cache the list of interfaces and descriptors
This can speed up device enumeration, and also allows us to emulate the interfaces or descriptors in the future.
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 77b5c86..c19dd3a 100644
--- a/gusb/gusb-device.h
+++ b/gusb/gusb-device.h
@@ -205,6 +205,8 @@ g_usb_device_close(GUsbDevice *self, GError **error);
gboolean
g_usb_device_reset(GUsbDevice *self, GError **error);
+void
+g_usb_device_invalidate(GUsbDevice *self);
gint
g_usb_device_get_configuration(GUsbDevice *self, GError **error);