aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-03-30 14:50:40 -0700
committerDan Williams <dcbw@redhat.com>2010-03-30 14:50:40 -0700
commit720e38aec0a50aa2136f01b7f3620a4e261c0406 (patch)
tree06dbd68d467b4652f6de97c9fe1b70b02b830a71 /src/mm-plugin.h
parent39326f249105b7d71c63125f29e3bee2143a82d2 (diff)
core: move physical device checking into the manager
It turns out that the manager needs to know about the physical device so we can prevent multiple plugins from claiming ports on the same modem.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index d1e85b6a..40419d41 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -70,6 +70,7 @@ struct _MMPlugin {
MMPluginSupportsResult (*supports_port) (MMPlugin *self,
const char *subsys,
const char *name,
+ const char *physdev_path,
MMSupportsPortResultFunc callback,
gpointer user_data);
@@ -104,6 +105,7 @@ const char *mm_plugin_get_name (MMPlugin *plugin);
MMPluginSupportsResult mm_plugin_supports_port (MMPlugin *plugin,
const char *subsys,
const char *name,
+ const char *physdev_path,
MMSupportsPortResultFunc callback,
gpointer user_data);