Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
[midnight-commander.git] / src / setup.h
blob04d66d8d2ab9901a854c39f159826c3923d6df54
2 /** \file setup.h
3 * \brief Header: setup loading/saving
4 */
6 #ifndef MC_SETUP_H
7 #define MC_SETUP_H
9 #include "panel.h"
11 char *setup_init (void);
12 void save_layout (void);
13 void save_configure (void);
14 void load_setup (void);
15 gboolean save_setup (void);
16 void done_setup (void);
17 void load_key_defs (void);
18 char *load_anon_passwd (void);
20 void panel_save_setup (struct WPanel *panel, const char *section);
21 void panel_load_setup (struct WPanel *panel, const char *section);
22 void save_panel_types (void);
23 void load_keymap_defs (void);
24 void free_keymap_defs (void);
25 extern char *profile_name;
26 extern char *global_profile_name;
28 extern char *setup_color_string;
29 extern char *term_color_string;
30 extern char *color_terminal_string;
32 extern panel_view_mode_t startup_left_mode;
33 extern panel_view_mode_t startup_right_mode;
34 extern int verbose;
36 extern int mouse_close_dialog;
37 extern int reverse_files_only;
38 extern int select_flags;
41 extern int setup_copymove_persistent_attr;
42 void setup_save_config_show_error(const char *filename, GError **error);
44 #endif