diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-13 03:35:18 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-03-13 03:45:00 -0400 |
commit | 74df3ba2d823fde29b28ae3975e4ddfe09e4d69e (patch) | |
tree | 66b44c01eec50e4688bf24042a9660fff9745e3f /apps/misc.h | |
parent | a9c62f2c39a74ccfc05fa7160efade49286da77c (diff) | |
download | rockbox-74df3ba2d823fde29b28ae3975e4ddfe09e4d69e.tar.gz rockbox-74df3ba2d823fde29b28ae3975e4ddfe09e4d69e.zip |
add function string_option to misc.c use in skin_parser.c
function string_option allows a string to be found in a
supplied list of options
Change-Id: If9134090406b74ab11f4ef9ed6517a4b99b9d73e
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index c4057f4ebc..ed40de3e1f 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -123,6 +123,7 @@ extern int show_logo(void); | |||
123 | 123 | ||
124 | int split_string(char *str, const char needle, char *vector[], int vector_length); | 124 | int split_string(char *str, const char needle, char *vector[], int vector_length); |
125 | int open_utf8(const char* pathname, int flags); | 125 | int open_utf8(const char* pathname, int flags); |
126 | int string_option(const char *option, const char *const oplist[], bool ignore_case); | ||
126 | 127 | ||
127 | #ifdef BOOTFILE | 128 | #ifdef BOOTFILE |
128 | #if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \ | 129 | #if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \ |