sd-bus: Add a nicer way of specifying sd-bus vtable method arguments

System Internals / systemd - Daan De Meyer [gmail.com] - 6 May 2020 08:22 EDT

SD_BUS_NAMES_WITH_ARGS is a less error-prone way of specifying D-Bus method arguments.

eff7c2d3c9 sd-bus: Add a nicer way of specifying sd-bus vtable method arguments
man/sd_bus_add_object.xml | 107 +++++++++++++---
man/vtable-example.c | 24 ++++
src/resolve/resolved-bus.c | 267 +++++++++++++++++-----------------------
src/resolve/resolved-link-bus.c | 95 +++++++-------
src/systemd/sd-bus-vtable.h | 118 ++++++++++++++++++
5 files changed, 391 insertions(+), 220 deletions(-)

Upstream: github.com


  • Share