modules: implement a new reserve-device module
This one offers API to interract on a lower level with the D-Bus reservation API and uses GDBus high level bindings only. Also, this one implements the full Acquire procedure, calling RequestRelease() on the peer and requesting the name again with REPLACE_EXISTING
Showing
- modules/meson.build 17 additions, 20 deletionsmodules/meson.build
- modules/module-reserve-device/meson.build 11 additions, 0 deletionsmodules/module-reserve-device/meson.build
- modules/module-reserve-device/org.freedesktop.ReserveDevice1.xml 11 additions, 0 deletions.../module-reserve-device/org.freedesktop.ReserveDevice1.xml
- modules/module-reserve-device/plugin.c 277 additions, 0 deletionsmodules/module-reserve-device/plugin.c
- modules/module-reserve-device/plugin.h 42 additions, 0 deletionsmodules/module-reserve-device/plugin.h
- modules/module-reserve-device/reserve-device.c 499 additions, 0 deletionsmodules/module-reserve-device/reserve-device.c
- modules/module-reserve-device/reserve-device.h 55 additions, 0 deletionsmodules/module-reserve-device/reserve-device.h
- modules/module-reserve-device/transitions.c 266 additions, 0 deletionsmodules/module-reserve-device/transitions.c
- modules/module-reserve-device/transitions.h 32 additions, 0 deletionsmodules/module-reserve-device/transitions.h
- tests/modules/meson.build 7 additions, 0 deletionstests/modules/meson.build
- tests/modules/reserve-device.c 371 additions, 0 deletionstests/modules/reserve-device.c
Loading
Please register or sign in to comment