These are functions which find/supplement lists of devices. More...
| Functions | |
| EAPI Eina_List * | eeze_udev_find_similar_from_syspath (const char *syspath) | 
| Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by syspath.  More... | |
| EAPI Eina_List * | eeze_udev_find_unlisted_similar (Eina_List *list) | 
| Updates a list of all syspaths that are (or should be) the same device.  More... | |
| EAPI Eina_List * | eeze_udev_find_by_sysattr (const char *sysattr, const char *value) | 
| Find a list of devices by a sysattr (and, optionally, a value of that sysattr).  More... | |
| EAPI Eina_List * | eeze_udev_find_by_type (Eeze_Udev_Type type, const char *name) | 
| Find devices using an Eeze_Udev_Type and/or a name.  More... | |
| EAPI Eina_List * | eeze_udev_find_by_filter (const char *subsystem, const char *type, const char *name) | 
| A more advanced find, allows finds using udev properties.  More... | |
| EAPI Eina_List * | eeze_udev_find_by_subsystem_sysname (const char *subsystem, const char *sysname) | 
| A more advanced find, allows finds using udev subsystem and sysname.  More... | |
These are functions which find/supplement lists of devices.
Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by syspath. 
| syspath | The syspath of the device to find matches for | 
References EINA_LIST_FOREACH, eina_list_prepend(), and eina_stringshare_add().
Updates a list of all syspaths that are (or should be) the same device.
| list | The list of devices to update | 
This function will update list to include all devices matching devices with syspaths currently stored in list. All strings are stringshared.
References EINA_LIST_FOREACH.
Find a list of devices by a sysattr (and, optionally, a value of that sysattr).
| sysattr | The attribute to find | 
| value | Optional: the value that the attribute should have | 
References eina_list_append(), and eina_stringshare_add().
| EAPI Eina_List* eeze_udev_find_by_type | ( | Eeze_Udev_Type | type, | 
| const char * | name | ||
| ) | 
Find devices using an Eeze_Udev_Type and/or a name.
| type | An Eeze_Udev_Type or 0 | 
| name | A filter for the device name or NULL | 
NULL on failureReturn a list of syspaths (/sys/$syspath) for matching udev devices.
References EEZE_UDEV_TYPE_BACKLIGHT, EEZE_UDEV_TYPE_BLUETOOTH, EEZE_UDEV_TYPE_DRIVE_CDROM, EEZE_UDEV_TYPE_DRIVE_INTERNAL, EEZE_UDEV_TYPE_DRIVE_MOUNTABLE, EEZE_UDEV_TYPE_DRIVE_REMOVABLE, EEZE_UDEV_TYPE_DRM, EEZE_UDEV_TYPE_GPIO, EEZE_UDEV_TYPE_GRAPHICS, EEZE_UDEV_TYPE_IS_IT_HOT_OR_IS_IT_COLD_SENSOR, EEZE_UDEV_TYPE_JOYSTICK, EEZE_UDEV_TYPE_KEYBOARD, EEZE_UDEV_TYPE_LEDS, EEZE_UDEV_TYPE_MOUSE, EEZE_UDEV_TYPE_NET, EEZE_UDEV_TYPE_NONE, EEZE_UDEV_TYPE_POWER_AC, EEZE_UDEV_TYPE_POWER_BAT, EEZE_UDEV_TYPE_TOUCHPAD, EEZE_UDEV_TYPE_V4L, eina_list_append(), and eina_stringshare_add().
Referenced by ecore_drm_device_find().
| EAPI Eina_List* eeze_udev_find_by_filter | ( | const char * | subsystem, | 
| const char * | type, | ||
| const char * | name | ||
| ) | 
A more advanced find, allows finds using udev properties.
| subsystem | The udev subsystem to filter by, or NULL | 
| type | "ID_INPUT_KEY", "ID_INPUT_MOUSE", "ID_INPUT_TOUCHPAD", NULL, etc | 
| name | A filter for the device name, or NULL | 
NULL on failureReturn a list of syspaths (/sys/$syspath) for matching udev devices. Requires at least one filter.
References eina_list_append(), and eina_stringshare_add().
| EAPI Eina_List* eeze_udev_find_by_subsystem_sysname | ( | const char * | subsystem, | 
| const char * | sysname | ||
| ) | 
A more advanced find, allows finds using udev subsystem and sysname.
| subsystem | The udev subsystem to filter by, or NULL | 
| sysname | A filter for the device name, or NULL | 
NULL on failureEAPI
References eina_list_append(), and eina_stringshare_add().
Referenced by ecore_drm_inputs_device_axis_size_set().