mc/src/tree.h
Roland Illig e792cffb8d * *.h: Renamed multiple inclusion guards that started with a
double underscore. Added #includes for dependent files.
	* popt.c: Likewise.
	* popthelp.c: Likewise.
	* tree.c: Moved a macro from tree.h to here, as it is useless
	outside tree.c.
2004-12-03 19:17:46 +00:00

19 lines
384 B
C

#ifndef MC_TREE_H
#define MC_TREE_H
struct WTree;
typedef struct WTree WTree;
int tree_init (const char *current_dir, int lines);
void tree_chdir (WTree *tree, const char *dir);
char *tree_selected_name (WTree *tree);
void sync_tree (const char *pathname);
extern int xtree_mode;
WTree *tree_new (int is_panel, int y, int x, int lines, int cols);
extern WTree *the_tree;
#endif