Ticket #1781: array index is out of bounds.
[kaloumi3.git] / src / setup.h
blobadf0ce27d9142c9a5e16a94c4cfd3bdd14809014
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 int startup_left_mode;
33 extern int 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