diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-05 22:44:35 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-08 17:56:12 +0200 |
commit | 5ba1550fd8a80466693275e62e4b1e152e477cf8 (patch) | |
tree | 69138f7ceafb1267640e72073a96784d57c7c04b /src/shared/bootspec.h | |
parent | 432ce537376c43298552b7e5ddd5f6099df3c368 (diff) | |
download | systemd-5ba1550fd8a80466693275e62e4b1e152e477cf8.tar.gz |
shared/bootspec: expose more parts of the config parsing
Diffstat (limited to 'src/shared/bootspec.h')
-rw-r--r-- | src/shared/bootspec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h index f235830c3c..3ff593a23f 100644 --- a/src/shared/bootspec.h +++ b/src/shared/bootspec.h @@ -86,6 +86,9 @@ static inline const BootEntry* boot_config_default_entry(const BootConfig *confi void boot_config_free(BootConfig *config); +int boot_loader_read_conf(BootConfig *config, FILE *file, const char *path); + +int boot_config_finalize(BootConfig *config); int boot_config_load(BootConfig *config, const char *esp_path, const char *xbootldr_path); int boot_config_load_auto(BootConfig *config, const char *override_esp_path, const char *override_xbootldr_path); int boot_config_augment_from_loader(BootConfig *config, char **list, bool only_auto); |