Ticket #1787: remove obsolete checks for <stdlib.h>
[free-mc.git] / src / tree.h
blob81506f200d00abcc11181708af621b888b9fb373
2 /** \file tree.h
3 * \brief Header: directory tree browser
4 */
6 #ifndef MC_TREE_H
7 #define MC_TREE_H
9 typedef struct WTree WTree;
11 extern WTree *the_tree;
12 extern int xtree_mode;
14 WTree *tree_new (int is_panel, int y, int x, int lines, int cols);
16 void tree_chdir (WTree *tree, const char *dir);
17 char *tree_selected_name (const WTree *tree);
19 void sync_tree (const char *pathname);
21 struct Dlg_head;
23 WTree *find_tree (struct Dlg_head *h);
25 #endif /* MC_TREE_H */