aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-09-08 22:22:37 +0200
committerDan Williams <dcbw@redhat.com>2019-09-11 18:01:50 +0000
commit51c4626471ce5ddf9035b0c7570141b12929a52d (patch)
tree365db9ce9a6bb9b68962571b02f428ab281eb667 /src/mm-plugin.h
parent0e02771e5cb185d8939930e65cc6e63ca226b6f7 (diff)
filter: update plugin whitelist logic to use 'allowed product ids'
Several plugins define the specific device vid:pid pairs they support. Let's use this information as a direct indication that ModemManager can probe the devices.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r--src/mm-plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h
index 84df989c..926840bf 100644
--- a/src/mm-plugin.h
+++ b/src/mm-plugin.h
@@ -124,8 +124,9 @@ struct _MMPluginClass {
GType mm_plugin_get_type (void);
-const gchar *mm_plugin_get_name (MMPlugin *self);
-const gchar **mm_plugin_get_allowed_udev_tags (MMPlugin *self);
+const gchar *mm_plugin_get_name (MMPlugin *self);
+const gchar **mm_plugin_get_allowed_udev_tags (MMPlugin *self);
+const mm_uint16_pair *mm_plugin_get_allowed_product_ids (MMPlugin *self);
/* This method will run all pre-probing filters, to see if we can discard this
* plugin from the probing logic as soon as possible. */