boot: Add startswith() and endswith() functions with no_case variants
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 2 Feb 2021 22:27:09 +0000 (22:27 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 2 Feb 2021 22:53:31 +0000 (22:53 +0000)
commitcb347d263d38ee3d9fb9be588a6efd77bca218ea
treed1f248cd0fc4b89c1f7c4a46bacf770233012952
parentfffd5e8ee312c7ef55058b61b2b619c7e3c48925
boot: Add startswith() and endswith() functions with no_case variants

Adapted from string-util
src/boot/efi/boot.c
src/boot/efi/util.c
src/boot/efi/util.h