From 6634a60bf0750159ffc34bdff548fac0817e72bc Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 3 Oct 2023 21:54:19 -0400 Subject: tagcache/tagtree remove static buffer from tagcache_get_next callers can supply their own buffer Change-Id: I8996ecfb88e30926296a0cb0563cf6c46977323e --- apps/plugin.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index da4d3432f5..b1188fc183 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -351,6 +351,7 @@ static const struct plugin_api rockbox_api = { yesno_pop, /* action handling */ + list_do_action, get_custom_action, get_action, #ifdef HAVE_TOUCHSCREEN @@ -443,6 +444,7 @@ static const struct plugin_api rockbox_api = { /* talking */ talk_id, + talk_idarray, talk_file, talk_file_or_spell, talk_dir_or_spell, @@ -546,6 +548,7 @@ static const struct plugin_api rockbox_api = { /* strings and memory */ snprintf, vsnprintf, + vuprintf, strcpy, strlcpy, strlen, @@ -568,6 +571,7 @@ static const struct plugin_api rockbox_api = { memcmp, strcasestr, strtok_r, + output_dyn_value, /* unicode stuff */ utf8decode, iso_decode, @@ -687,6 +691,8 @@ static const struct plugin_api rockbox_api = { /* playback control */ playlist_get_current, + playlist_get_resume_info, + playlist_get_track_info, playlist_amount, playlist_resume, playlist_resume_track, @@ -769,7 +775,7 @@ static const struct plugin_api rockbox_api = { #if CONFIG_RTC mktime, #endif - + format_time_auto, #if defined(DEBUG) || defined(SIMULATOR) debugf, #endif @@ -827,13 +833,6 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ - format_time_auto, - output_dyn_value, - playlist_get_resume_info, - playlist_get_track_info, - list_do_action, - talk_idarray, - }; static int plugin_buffer_handle; -- cgit v1.2.3