]> git.ipfire.org Git - thirdparty/systemd.git/commit
generator: add generator_open_unit_file_full to allow creating temporary units
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 10 Apr 2023 13:18:33 +0000 (15:18 +0200)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 10 Apr 2023 13:18:33 +0000 (15:18 +0200)
commit8a84e0d7960b7970c16a4efd4c5b0b26c810d22d
treea7f3cc91b2268c35c9d77a63ddf3c486c4ebbf1b
parent737a9edc888c0c5763c724ad565ae6bbe43bdbe5
generator: add generator_open_unit_file_full to allow creating temporary units

This function is like `generator_open_unit_file`, but if `ret_temp_path` is
passed, a temporary unit is created instead.
src/shared/generator.c
src/shared/generator.h