diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-30 20:25:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-20 16:26:55 +0200 |
commit | 84d205c9be4fa5e6d773ac60edc7200885da7af6 (patch) | |
tree | 0dd2656d6448523949f4ec716d17fbcc6cd02e10 /src/mm-plugin.h | |
parent | 4e84cd241b7b41fe6f87242136b3f5ae857e5a13 (diff) |
plugin: new filters for forbidden product IDs/strings
Plugins may specify that specific vendor & product IDs or strings are not
supported. This is useful when plugins need to specify that they support
all devices of a given vendor except for some specific ones.
Diffstat (limited to 'src/mm-plugin.h')
-rw-r--r-- | src/mm-plugin.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/src/mm-plugin.h b/src/mm-plugin.h index 32f849e7..e5796e63 100644 --- a/src/mm-plugin.h +++ b/src/mm-plugin.h @@ -38,24 +38,26 @@ #define MM_IS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MM_TYPE_PLUGIN)) #define MM_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MM_TYPE_PLUGIN, MMPluginClass)) -#define MM_PLUGIN_NAME "name" -#define MM_PLUGIN_ALLOWED_SUBSYSTEMS "allowed-subsystems" -#define MM_PLUGIN_ALLOWED_DRIVERS "allowed-drivers" -#define MM_PLUGIN_FORBIDDEN_DRIVERS "forbidden-drivers" -#define MM_PLUGIN_ALLOWED_VENDOR_IDS "allowed-vendor-ids" -#define MM_PLUGIN_ALLOWED_PRODUCT_IDS "allowed-product-ids" -#define MM_PLUGIN_ALLOWED_VENDOR_STRINGS "allowed-vendor-strings" -#define MM_PLUGIN_ALLOWED_PRODUCT_STRINGS "allowed-product-strings" -#define MM_PLUGIN_ALLOWED_UDEV_TAGS "allowed-udev-tags" -#define MM_PLUGIN_ALLOWED_AT "allowed-at" -#define MM_PLUGIN_ALLOWED_SINGLE_AT "allowed-single-at" -#define MM_PLUGIN_ALLOWED_QCDM "allowed-qcdm" -#define MM_PLUGIN_ICERA_PROBE "icera-probe" -#define MM_PLUGIN_ALLOWED_ICERA "allowed-icera" -#define MM_PLUGIN_FORBIDDEN_ICERA "forbidden-icera" -#define MM_PLUGIN_CUSTOM_INIT "custom-init" -#define MM_PLUGIN_CUSTOM_AT_PROBE "custom-at-probe" -#define MM_PLUGIN_SEND_DELAY "send-delay" +#define MM_PLUGIN_NAME "name" +#define MM_PLUGIN_ALLOWED_SUBSYSTEMS "allowed-subsystems" +#define MM_PLUGIN_ALLOWED_DRIVERS "allowed-drivers" +#define MM_PLUGIN_FORBIDDEN_DRIVERS "forbidden-drivers" +#define MM_PLUGIN_ALLOWED_VENDOR_IDS "allowed-vendor-ids" +#define MM_PLUGIN_ALLOWED_PRODUCT_IDS "allowed-product-ids" +#define MM_PLUGIN_FORBIDDEN_PRODUCT_IDS "forbidden-product-ids" +#define MM_PLUGIN_ALLOWED_VENDOR_STRINGS "allowed-vendor-strings" +#define MM_PLUGIN_ALLOWED_PRODUCT_STRINGS "allowed-product-strings" +#define MM_PLUGIN_FORBIDDEN_PRODUCT_STRINGS "forbidden-product-strings" +#define MM_PLUGIN_ALLOWED_UDEV_TAGS "allowed-udev-tags" +#define MM_PLUGIN_ALLOWED_AT "allowed-at" +#define MM_PLUGIN_ALLOWED_SINGLE_AT "allowed-single-at" +#define MM_PLUGIN_ALLOWED_QCDM "allowed-qcdm" +#define MM_PLUGIN_ICERA_PROBE "icera-probe" +#define MM_PLUGIN_ALLOWED_ICERA "allowed-icera" +#define MM_PLUGIN_FORBIDDEN_ICERA "forbidden-icera" +#define MM_PLUGIN_CUSTOM_INIT "custom-init" +#define MM_PLUGIN_CUSTOM_AT_PROBE "custom-at-probe" +#define MM_PLUGIN_SEND_DELAY "send-delay" typedef enum { MM_PLUGIN_SUPPORTS_PORT_UNSUPPORTED = 0x0, |