]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: split-out entry token related definitions into boot-entry.[ch]
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 Mar 2023 07:33:43 +0000 (16:33 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Mar 2023 07:51:18 +0000 (09:51 +0200)
commit9e43296fd2c4959f045859d248a4e78fcfcceae6
tree6eec450ebe932e55056b64ac7a6c4965c1c48ad1
parent600362aa11af5af90125aacc8ad7612a5cb80a68
bootctl: split-out entry token related definitions into boot-entry.[ch]

No functional change, just preparation for later commits.
These can be used in kernel-install later.

Note, unlike the our usual coding style, the arguments for
boot_entry_token_ensure() and parse_boot_entry_token_type() are
referenced, updated, and may freed, hence, always pass initialized
values. That's why they are not named as 'ret_xyz'.
src/boot/bootctl-install.c
src/boot/bootctl-util.c
src/boot/bootctl.c
src/boot/bootctl.h
src/shared/boot-entry.c [new file with mode: 0644]
src/shared/boot-entry.h [new file with mode: 0644]
src/shared/meson.build