enumerator: Add UpEnumerator class and udev implementation

System Internals / UPower - Benjamin Berg [redhat.com] - 16 May 2022 13:48 UTC

896c77d enumerator: Add UpEnumerator class and udev implementation
src/linux/meson.build | 1 +
src/linux/up-enumerator-udev.c | 324 +++++++++++++++++++++++++++++++++++++++++
src/linux/up-enumerator-udev.h | 31 ++++
src/meson.build | 2 +
src/up-config.h | 2 +
src/up-device.c | 9 ++
src/up-device.h | 4 +
src/up-enumerator.c | 141 ++++++++++++++++++
src/up-enumerator.h | 40 +++++
9 files changed, 554 insertions(+)

Upstream: cgit.freedesktop.org


  • Share