aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-plugin-manager.h')
-rw-r--r--src/mm-plugin-manager.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mm-plugin-manager.h b/src/mm-plugin-manager.h
index 825e69c6..42f6a750 100644
--- a/src/mm-plugin-manager.h
+++ b/src/mm-plugin-manager.h
@@ -59,4 +59,17 @@ MMPlugin *mm_plugin_manager_find_port_support_finish (MMPluginManager *self,
GAsyncResult *result,
GError **error);
+/* Returns TRUE if there is an ongoing find operation on the given port */
+gboolean mm_plugin_manager_is_finding_port_support (MMPluginManager *self,
+ const gchar *subsys,
+ const gchar *name,
+ const gchar *physdev_path);
+
+/* Returns TRUE if there is an ongoing find operation in a port of the given
+ * device (and if so, returns subsystem and name of the port) */
+gboolean mm_plugin_manager_is_finding_device_support (MMPluginManager *self,
+ const gchar *physdev_path,
+ const gchar **subsys,
+ const gchar **name);
+
#endif /* MM_PLUGIN_MANAGER_H */