utilunix.c(mc_tmpdir): Check return value of getpwuid() for NULL.
[midnight-commander.git] / src / setup.h
bloba5763ed74e7c115687e7f7dc913c819354b244ec
1 #ifndef __SETUP_H
2 #define __SETUP_H
4 char *setup_init (void);
5 void save_layout (void);
6 void save_configure (void);
7 void load_setup (void);
8 void save_setup (void);
9 void done_setup (void);
10 void load_key_defs (void);
11 char *load_anon_passwd (void);
13 struct WPanel;
14 void panel_save_setup (struct WPanel *panel, char *section);
15 void panel_load_setup (struct WPanel *panel, char *section);
17 extern char *profile_name;
18 extern char *global_profile_name;
20 extern char setup_color_string[];
21 extern char term_color_string[];
22 extern char color_terminal_string[];
24 extern int startup_left_mode;
25 extern int startup_right_mode;
26 extern int verbose;
28 #define PROFILE_NAME ".mc/ini"
29 #define HOTLIST_FILENAME ".mc/hotlist"
31 #endif /* !__SETUP_H */