]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/boot/efi/util.h
boot: Read files in small chunks on broken firmware
[thirdparty/systemd.git] / src / boot / efi / util.h
index 9058918a93915c1d8ed4a05d3902e114cc7f4738..bb917faf5541c685973780064b1e95f908948e55 100644 (file)
@@ -97,6 +97,7 @@ void convert_efi_path(char16_t *path);
 char16_t *xstr8_to_path(const char *stra);
 void mangle_stub_cmdline(char16_t *cmdline);
 
+EFI_STATUS chunked_read(EFI_FILE *file, size_t *size, void *buf);
 EFI_STATUS file_read(EFI_FILE *dir, const char16_t *name, size_t off, size_t size, char **content, size_t *content_size);
 
 static inline void file_closep(EFI_FILE **handle) {