aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-24 15:40:57 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-11-13 08:57:06 +0000
commit71f5c975430b0455e7ca81b2d2d1bef0174d0be2 (patch)
tree1992d85df2913b7f624ab58b9fc8aa3d04cf0f4f /src/mm-plugin.h
parent950abbf8ee8624827d63a0d0186beac81232e8f6 (diff)
base-manager: automatic required subsystem detection
Instead of assuming we require a fixed set of subsystems to monitor, compile the full list based on what the plugins have requested themselves.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index 7011f9c4..b27e7a2f 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -126,6 +126,7 @@ GType mm_plugin_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPlugin, g_object_unref)
const gchar *mm_plugin_get_name (MMPlugin *self);
+const gchar **mm_plugin_get_allowed_subsystems (MMPlugin *self);
const gchar **mm_plugin_get_allowed_udev_tags (MMPlugin *self);
const guint16 *mm_plugin_get_allowed_vendor_ids (MMPlugin *self);
const mm_uint16_pair *mm_plugin_get_allowed_product_ids (MMPlugin *self);