Split file src/keybind.[ch] to lib/keybind.[ch] and src/keybind-defaults.[ch].
[midnight-commander.git] / src / execute.h
blobfcc6a85110363e068f019d6ff42db64dfccf9a64
1 /** \file execute.h
2 * \brief Header: execution routines
3 */
5 #ifndef MC__EXECUTE_H
6 #define MC__EXECUTE_H
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /* flags for shell_execute */
11 #define EXECUTE_INTERNAL (1 << 0)
12 #define EXECUTE_AS_SHELL (1 << 2)
13 #define EXECUTE_HIDE (1 << 3)
15 /*** enums ***************************************************************************************/
17 /*** structures declarations (and typedefs of structures)*****************************************/
19 /*** global variables defined in .c file *********************************************************/
21 /*** declarations of public functions ************************************************************/
23 /* Execute functions that use the shell to execute */
24 void shell_execute (const char *command, int flags);
26 /* This one executes a shell */
27 void exec_shell (void);
29 /* Handle toggling panels by Ctrl-O */
30 void toggle_panels (void);
32 /* Handle toggling panels by Ctrl-Z */
33 void suspend_cmd (void);
35 /* Execute command on a filename that can be on VFS */
36 void execute_with_vfs_arg (const char *command, const char *filename);
38 void post_exec (void);
39 void pre_exec (void);
41 /*** inline functions ****************************************************************************/
42 #endif /* MC__EXECUTE_H */