]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: move service_context_build_json() to varlink-service.c
authorIvan Kruglov <mail@ikruglov.com>
Thu, 14 May 2026 16:41:09 +0000 (09:41 -0700)
committerIvan Kruglov <mail@ikruglov.com>
Thu, 14 May 2026 16:53:03 +0000 (09:53 -0700)
commit59203dca3af581be32f383263e2a3e4bc406c2e4
tree25192f3c317338a16c5ac08feb81c8285d648fcf
parentbb233dcb4be131990e2222c8a65e63f6771e28fa
core: move service_context_build_json() to varlink-service.c

Move the existing (partial) service context builder from varlink-unit.c into its own varlink-service.c file, following the pattern established by other unit type context builders (varlink-path.c, varlink-scope.c, etc.). No functional change.
src/core/meson.build
src/core/varlink-service.c [new file with mode: 0644]
src/core/varlink-service.h [new file with mode: 0644]
src/core/varlink-unit.c