]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add _parameters_init for the Unit.StartTransient dispatch 42360/head
authorMichael Vogt <michael@amutable.com>
Mon, 15 Jun 2026 06:40:50 +0000 (08:40 +0200)
committerMichael Vogt <michael@amutable.com>
Sun, 21 Jun 2026 18:47:17 +0000 (20:47 +0200)
commit54fd64db200ba1b422bc209e38db3ca5eda5ef00
tree90f64fca965298876ec9d2e8a8cf7b5eb38e6767
parentcc348856dec4d8c0c0b27ba5425131afec105231
core: add _parameters_init for the Unit.StartTransient dispatch

This commit extracts the initialization of the transient parameters
for io.systemd.Unit.StartTransient into a set of helpers that follow
the _parameters_init() pattern. This way the code is more uniform
and easier to extend and less fragile. It also means there is a
single (logical) place to init the fields.
src/core/varlink-unit.c