diff options
Diffstat (limited to 'apps/misc.h')
| -rw-r--r-- | apps/misc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/misc.h b/apps/misc.h index 289d952..c6a9164 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -110,7 +110,7 @@ void check_bootfile(bool do_rolo); void setvol(void); #ifdef HAVE_LCD_COLOR -int hex_to_rgb(const char* hex); +int hex_to_rgb(const char* hex, int* color); #endif char* strrsplt(char* str, int c); @@ -124,4 +124,7 @@ bool dir_exists(const char *path); */ char *strip_extension(char* buffer, int buffer_size, const char *filename); +/* A simplified scanf */ +const char* parse_list(const char *fmt, const char sep, const char* str, ...); + #endif /* MISC_H */ |