]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-util: add bus_message_append_string_set() helper
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Jun 2023 17:12:51 +0000 (19:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Jun 2023 09:34:26 +0000 (11:34 +0200)
commit9298af8dd30a8c4fcae93540956dc8784ae44049
tree7921e62d5d4148060878c1141246520568578bc3
parent2824385c4eb83842776528dc7440305b80137e53
bus-util: add bus_message_append_string_set() helper

This new helper adds all strings from a Set object as a string array to
a message.

Various places where we have similar code are then ported over to this.
src/core/dbus-cgroup.c
src/core/dbus-execute.c
src/resolve/resolved-bus.c
src/resolve/resolved-link-bus.c
src/shared/bus-util.c
src/shared/bus-util.h