]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: introduce io.systemd.Manager.Describe method
authorIvan Kruglov <mail@ikruglov.com>
Thu, 6 Mar 2025 16:40:49 +0000 (08:40 -0800)
committerIvan Kruglov <mail@ikruglov.com>
Tue, 13 May 2025 08:55:15 +0000 (01:55 -0700)
commit736349958efe34089131ca88950e2e5bb391d36a
tree6534d3523d6c172b09c2aff118cf406e7f656891
parent50243880058beca246cb1c02e8bc0fd2034cb934
core: introduce io.systemd.Manager.Describe method

Let's extend pid1's varlink interface and add a Describe method to
get the global Manager object information as a JSON object
(io.systemd.Manager.Describe).

Because the new varlink interface should be available on both the
user managers and the system manager, we also make the necessary
changes to expose a varlink server on user managers.
src/core/manager-serialize.c
src/core/manager-varlink.c [new file with mode: 0644]
src/core/manager-varlink.h [new file with mode: 0644]
src/core/meson.build
src/core/varlink.c
src/shared/meson.build
src/shared/varlink-io.systemd.Manager.c [new file with mode: 0644]
src/shared/varlink-io.systemd.Manager.h [new file with mode: 0644]