22b53cdf58
Initial step: refactoring: a piece of code was moved form main.c into args.c. Some functions and variables were renamed. Fixed includes. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
33 строки
1.1 KiB
C
33 строки
1.1 KiB
C
#ifndef MC__ARGS_H
|
|
#define MC__ARGS_H
|
|
|
|
#include "lib/global.h" /* gboolean */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
extern gboolean mc_args__force_xterm;
|
|
extern gboolean mc_args__nomouse;
|
|
extern gboolean mc_args__slow_terminal;
|
|
extern gboolean mc_args__ugly_line_drawing;
|
|
extern gboolean mc_args__disable_colors;
|
|
extern gboolean mc_args__force_colors;
|
|
extern char *mc_args__skin;
|
|
extern gboolean mc_args__version;
|
|
extern int mc_args__edit_start_line;
|
|
extern char *mc_args__last_wd_file;
|
|
extern char *mc_args__netfs_logfile;
|
|
extern char *mc_args__keymap_file;
|
|
extern int mc_args__debug_level;
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
gboolean mc_args_handle(int argc, char **argv, const char *translation_domain);
|
|
|
|
#endif /* MC__ARGS_H */
|