From 74df3ba2d823fde29b28ae3975e4ddfe09e4d69e Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 13 Mar 2022 03:35:18 -0400 Subject: 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 --- apps/misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/misc.h') 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); int split_string(char *str, const char needle, char *vector[], int vector_length); int open_utf8(const char* pathname, int flags); +int string_option(const char *option, const char *const oplist[], bool ignore_case); #ifdef BOOTFILE #if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) \ -- cgit v1.2.3