4 #include "lib/global.h" /* gboolean */
5 #include "lib/vfs/vfs.h" /* vfs_path_t */
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 /*** global variables defined in .c file *********************************************************/
15 extern gboolean mc_args__force_xterm
;
16 extern gboolean mc_args__nomouse
;
17 extern gboolean mc_args__force_colors
;
18 extern gboolean mc_args__nokeymap
;
19 extern char *mc_args__last_wd_file
;
20 extern char *mc_args__netfs_logfile
;
21 extern char *mc_args__keymap_file
;
24 * MC_RUN_FULL: dir for left panel
25 * MC_RUN_EDITOR: list of files to edit
26 * MC_RUN_VIEWER: file to view
27 * MC_RUN_DIFFVIEWER: first file to compare
29 extern void *mc_run_param0
;
31 * MC_RUN_FULL: dir for right panel
32 * MC_RUN_EDITOR: unused
33 * MC_RUN_VIEWER: unused
34 * MC_RUN_DIFFVIEWER: second file to compare
36 extern char *mc_run_param1
;
38 /*** declarations of public functions ************************************************************/
40 void mc_setup_run_mode (char **argv
);
41 gboolean
mc_args_parse (int *argc
, char ***argv
, const char *translation_domain
, GError
** mcerror
);
42 gboolean
mc_args_show_info (void);
43 gboolean
mc_setup_by_args (int argc
, char **argv
, GError
** mcerror
);
45 /*** inline functions ****************************************************************************/
47 #endif /* MC__ARGS_H */