diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-10-03 21:54:19 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-10-03 21:54:19 -0400 |
commit | 6634a60bf0750159ffc34bdff548fac0817e72bc (patch) | |
tree | f91cd7b74cb518c57735ce22cb668f2737cb3fc7 /apps/plugin.c | |
parent | eee48dca39cbbe3cf4ad13bcf1d90bb3492151e5 (diff) | |
download | rockbox-6634a60bf0750159ffc34bdff548fac0817e72bc.tar.gz rockbox-6634a60bf0750159ffc34bdff548fac0817e72bc.zip |
tagcache/tagtree remove static buffer from tagcache_get_next
callers can supply their own buffer
Change-Id: I8996ecfb88e30926296a0cb0563cf6c46977323e
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 15 |
1 files changed, 7 insertions, 8 deletions
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 = { | |||
351 | yesno_pop, | 351 | yesno_pop, |
352 | 352 | ||
353 | /* action handling */ | 353 | /* action handling */ |
354 | list_do_action, | ||
354 | get_custom_action, | 355 | get_custom_action, |
355 | get_action, | 356 | get_action, |
356 | #ifdef HAVE_TOUCHSCREEN | 357 | #ifdef HAVE_TOUCHSCREEN |
@@ -443,6 +444,7 @@ static const struct plugin_api rockbox_api = { | |||
443 | 444 | ||
444 | /* talking */ | 445 | /* talking */ |
445 | talk_id, | 446 | talk_id, |
447 | talk_idarray, | ||
446 | talk_file, | 448 | talk_file, |
447 | talk_file_or_spell, | 449 | talk_file_or_spell, |
448 | talk_dir_or_spell, | 450 | talk_dir_or_spell, |
@@ -546,6 +548,7 @@ static const struct plugin_api rockbox_api = { | |||
546 | /* strings and memory */ | 548 | /* strings and memory */ |
547 | snprintf, | 549 | snprintf, |
548 | vsnprintf, | 550 | vsnprintf, |
551 | vuprintf, | ||
549 | strcpy, | 552 | strcpy, |
550 | strlcpy, | 553 | strlcpy, |
551 | strlen, | 554 | strlen, |
@@ -568,6 +571,7 @@ static const struct plugin_api rockbox_api = { | |||
568 | memcmp, | 571 | memcmp, |
569 | strcasestr, | 572 | strcasestr, |
570 | strtok_r, | 573 | strtok_r, |
574 | output_dyn_value, | ||
571 | /* unicode stuff */ | 575 | /* unicode stuff */ |
572 | utf8decode, | 576 | utf8decode, |
573 | iso_decode, | 577 | iso_decode, |
@@ -687,6 +691,8 @@ static const struct plugin_api rockbox_api = { | |||
687 | 691 | ||
688 | /* playback control */ | 692 | /* playback control */ |
689 | playlist_get_current, | 693 | playlist_get_current, |
694 | playlist_get_resume_info, | ||
695 | playlist_get_track_info, | ||
690 | playlist_amount, | 696 | playlist_amount, |
691 | playlist_resume, | 697 | playlist_resume, |
692 | playlist_resume_track, | 698 | playlist_resume_track, |
@@ -769,7 +775,7 @@ static const struct plugin_api rockbox_api = { | |||
769 | #if CONFIG_RTC | 775 | #if CONFIG_RTC |
770 | mktime, | 776 | mktime, |
771 | #endif | 777 | #endif |
772 | 778 | format_time_auto, | |
773 | #if defined(DEBUG) || defined(SIMULATOR) | 779 | #if defined(DEBUG) || defined(SIMULATOR) |
774 | debugf, | 780 | debugf, |
775 | #endif | 781 | #endif |
@@ -827,13 +833,6 @@ static const struct plugin_api rockbox_api = { | |||
827 | /* new stuff at the end, sort into place next time | 833 | /* new stuff at the end, sort into place next time |
828 | the API gets incompatible */ | 834 | the API gets incompatible */ |
829 | 835 | ||
830 | format_time_auto, | ||
831 | output_dyn_value, | ||
832 | playlist_get_resume_info, | ||
833 | playlist_get_track_info, | ||
834 | list_do_action, | ||
835 | talk_idarray, | ||
836 | |||
837 | }; | 836 | }; |
838 | 837 | ||
839 | static int plugin_buffer_handle; | 838 | static int plugin_buffer_handle; |