These are functions which walk up the device chain. More...
Functions | |
| EAPI Eina_Bool | eeze_udev_walk_check_sysattr (const char *syspath, const char *sysattr, const char *value) |
Walks up the device chain starting at syspath, checking each device for sysattr with (optional) value. More... | |
| EAPI const char * | eeze_udev_walk_get_sysattr (const char *syspath, const char *sysattr) |
Walks up the device chain starting at syspath, checking each device for sysattr, and returns the value if found. More... | |
These are functions which walk up the device chain.
| EAPI Eina_Bool eeze_udev_walk_check_sysattr | ( | const char * | syspath, |
| const char * | sysattr, | ||
| const char * | value | ||
| ) |
Walks up the device chain starting at syspath, checking each device for sysattr with (optional) value.
| syspath | The /sys/ path of the device to start at, with or without the /sys/ |
| sysattr | The attribute to find |
| value | OPTIONAL: The value that sysattr should have, or NULL |
References EINA_FALSE, EINA_TRUE, and efl::eo::parent.
| EAPI const char* eeze_udev_walk_get_sysattr | ( | const char * | syspath, |
| const char * | sysattr | ||
| ) |
Walks up the device chain starting at syspath, checking each device for sysattr, and returns the value if found.
| syspath | The /sys/ path of the device to start at, with or without the /sys/ |
| sysattr | The attribute to find |
sysattr if found, or NULL References eina_stringshare_add(), and efl::eo::parent.