2 * \brief Header: routines invoked by a function key
4 * They normally operate on the current panel.
10 #include "lib/global.h"
12 /*** typedefs(not structures) and defined constants **********************************************/
14 /*** enums ***************************************************************************************/
19 LINK_SYMLINK_ABSOLUTE
,
26 SELECT_FILES_ONLY
= 1 << 0,
27 SELECT_MATCH_CASE
= 1 << 1,
28 SELECT_SHELL_PATTERNS
= 1 << 2
31 /*** structures declarations (and typedefs of structures)*****************************************/
33 /*** global variables defined in .c file *********************************************************/
35 /*** declarations of public functions ************************************************************/
39 void ftplink_cmd (void);
41 #ifdef ENABLE_VFS_SFTP
42 void sftplink_cmd (void);
44 #ifdef ENABLE_VFS_FISH
45 void fishlink_cmd (void);
48 void smblink_cmd (void);
50 void undelete_cmd (void);
52 void smart_dirsize_cmd (void);
53 void single_dirsize_cmd (void);
54 void dirsizes_cmd (void);
55 gboolean
view_file_at_line (const vfs_path_t
* filename_vpath
, int plain_view
, int internal
,
57 gboolean
view_file (const vfs_path_t
* filename_vpath
, int normal
, int internal
);
59 void view_file_cmd (void);
60 void view_raw_cmd (void);
61 void view_filtered_cmd (void);
62 void do_edit_at_line (const vfs_path_t
* what_vpath
, gboolean internal
, long start_line
);
64 void edit_cmd_new (void);
65 #ifdef USE_INTERNAL_EDIT
66 void edit_cmd_force_internal (void);
69 void copy_cmd_local (void);
70 void rename_cmd (void);
71 void rename_cmd_local (void);
72 void mkdir_cmd (void);
73 void delete_cmd (void);
74 void delete_cmd_local (void);
76 void filter_cmd (void);
77 void reread_cmd (void);
80 void edit_mc_menu_cmd (void);
81 void edit_fhl_cmd (void);
82 void hotlist_cmd (void);
83 void compare_dirs_cmd (void);
84 void diff_view_cmd (void);
85 void panel_tree_cmd (void);
86 void link_cmd (link_type_t link_type
);
87 void edit_symlink_cmd (void);
88 void select_invert_cmd (void);
89 void unselect_cmd (void);
90 void select_cmd (void);
92 void view_other_cmd (void);
93 void quick_cd_cmd (void);
94 void save_setup_cmd (void);
95 char *get_random_hint (int force
);
96 void user_file_menu_cmd (void);
98 void listing_cmd (void);
99 void change_listing_cmd (void);
100 void quick_cmd_no_menu (void);
101 void info_cmd_no_menu (void);
102 void quick_view_cmd (void);
103 void toggle_listing_cmd (void);
105 void encoding_cmd (void);
108 /*** inline functions ****************************************************************************/
109 #endif /* MC__CMD_H */