summaryrefslogtreecommitdiffstats
path: root/apps/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.h')
-rw-r--r--apps/tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.h b/apps/tree.h
index 77dc5da1b4..c70ae8dac1 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -105,7 +105,9 @@ struct tree_context {
/*
* Call one of the two below after yields since the entrys may move inbetween */
struct entry* tree_get_entries(struct tree_context *t);
+/* returns NULL on invalid index */
struct entry* tree_get_entry_at(struct tree_context *t, int index);
+
void tree_mem_init(void) INIT_ATTR;
void tree_gui_init(void) INIT_ATTR;
char* get_current_file(char* buffer, size_t buffer_len);