summaryrefslogtreecommitdiff
path: root/gusb/gusb-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'gusb/gusb-context.h')
-rw-r--r--gusb/gusb-context.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gusb/gusb-context.h b/gusb/gusb-context.h
index 1738cd3..8b59d49 100644
--- a/gusb/gusb-context.h
+++ b/gusb/gusb-context.h
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
- * Copyright (C) 2011-2014 Richard Hughes <richard@hughsie.com>
+ * Copyright (C) 2011-2016 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
@@ -94,6 +94,11 @@ GUsbDevice *g_usb_context_find_by_platform_id (GUsbContext *context,
const gchar *platform_id,
GError **error);
+GUsbDevice *g_usb_context_wait_for_replug (GUsbContext *context,
+ GUsbDevice *device,
+ guint timeout_ms,
+ GError **error);
+
G_END_DECLS
#endif /* __GUSB_CONTEXT_H__ */