diff options
author | Aleksander Morgado <aleksander@gnu.org> | 2011-09-19 13:31:47 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:20 +0100 |
commit | 18238ed50ee626bff10aa9dc86e06223a776c255 (patch) | |
tree | 59a009a769eded9a9d5709b0537850fa53627055 /src/mm-plugin-base.h | |
parent | 24ebb00ed2010ba3c724afd4d35f39bf02840b09 (diff) |
plugin-base: new 'allowed-drivers' property
The plugins can set this property to filter support check requests by physical
device driver. The value given to the property should be a NULL-terminated array
of C strings, e.g.:
const gchar *drivers[] = { "qcserial", NULL };
Diffstat (limited to 'src/mm-plugin-base.h')
-rw-r--r-- | src/mm-plugin-base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h index 9e8a07f5..2b9e2f45 100644 --- a/src/mm-plugin-base.h +++ b/src/mm-plugin-base.h @@ -126,6 +126,7 @@ typedef struct { #define MM_PLUGIN_BASE_NAME "name" #define MM_PLUGIN_BASE_ALLOWED_CAPABILITIES "allowed-capabilities" #define MM_PLUGIN_BASE_ALLOWED_SUBSYSTEMS "allowed-subsystems" +#define MM_PLUGIN_BASE_ALLOWED_DRIVERS "allowed-drivers" #define MM_PLUGIN_BASE_ALLOWED_VENDOR_IDS "allowed-vendor-ids" #define MM_PLUGIN_BASE_ALLOWED_PRODUCT_IDS "allowed-product-ids" #define MM_PLUGIN_BASE_ALLOWED_VENDOR_STRINGS "allowed-vendor-strings" |