Ticket #268 (Allow using SI-based size prefixes)
[free-mc.git] / src / tree.h
blobd0aee811a0daf3f820af44431ec286a273f26765
2 /** \file tree.h
3 * \brief Header: directory tree browser
4 */
6 #ifndef MC_TREE_H
7 #define MC_TREE_H
9 struct WTree;
10 typedef struct WTree WTree;
12 int tree_init (const char *current_dir, int lines);
13 void tree_chdir (WTree *tree, const char *dir);
14 char *tree_selected_name (WTree *tree);
16 void sync_tree (const char *pathname);
18 extern int xtree_mode;
20 WTree *tree_new (int is_panel, int y, int x, int lines, int cols);
21 extern WTree *the_tree;
23 #endif