summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 8037dab..b9c2e7c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -517,6 +517,19 @@ static const struct plugin_api rockbox_api = {
utf8encode,
utf8length,
utf8seek,
+
+ /* the buflib memory management library */
+ buflib_init,
+ buflib_available,
+ buflib_alloc,
+ buflib_alloc_ex,
+ buflib_alloc_maximum,
+ buflib_buffer_in,
+ buflib_buffer_out,
+ buflib_free,
+ buflib_shrink,
+ buflib_get_data,
+ buflib_get_name,
/* sound */
sound_set,
@@ -732,6 +745,8 @@ static const struct plugin_api rockbox_api = {
#endif
show_logo,
tree_get_context,
+ tree_get_entries,
+ tree_get_entry_at,
set_current_file,
set_dirfilter,
@@ -790,21 +805,6 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
- tree_get_entries,
- tree_get_entry_at,
-
- /* the buflib memory management library */
- buflib_init,
- buflib_available,
- buflib_alloc,
- buflib_alloc_ex,
- buflib_alloc_maximum,
- buflib_buffer_in,
- buflib_buffer_out,
- buflib_free,
- buflib_shrink,
- buflib_get_data,
- buflib_get_name,
};
int plugin_load(const char* plugin, const void* parameter)