diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-10-24 15:40:57 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-11-13 08:57:06 +0000 |
commit | 71f5c975430b0455e7ca81b2d2d1bef0174d0be2 (patch) | |
tree | 1992d85df2913b7f624ab58b9fc8aa3d04cf0f4f /src/mm-plugin.c | |
parent | 950abbf8ee8624827d63a0d0186beac81232e8f6 (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.c')
-rw-r--r-- | src/mm-plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index a713ddf1..47855d9d 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -147,6 +147,12 @@ mm_plugin_get_name (MMPlugin *self) } const gchar ** +mm_plugin_get_allowed_subsystems (MMPlugin *self) +{ + return (const gchar **) self->priv->subsystems; +} + +const gchar ** mm_plugin_get_allowed_udev_tags (MMPlugin *self) { return (const gchar **) self->priv->udev_tags; |