1
0
Fork 0
forked from len0rd/rockbox

bookmark.c remove some global buffers

refactor to allow removing some of the static buffers

Change-Id: Ia3ff6ea28f35634fd8c31b023431ad53bd542085
This commit is contained in:
William Wilgus 2022-11-24 21:30:47 -05:00
parent 8b522b8973
commit 780990fe5d
3 changed files with 117 additions and 65 deletions

View file

@ -122,6 +122,9 @@ extern int show_logo(void);
#define BOM_UTF_16_SIZE 2
int split_string(char *str, const char needle, char *vector[], int vector_length);
#ifndef O_PATH
#define O_PATH 0x2000
#endif
int open_pathfmt(char *buf, size_t size, int oflag, const char *pathfmt, ...);
int open_utf8(const char* pathname, int flags);
int string_option(const char *option, const char *const oplist[], bool ignore_case);