2 * \brief Header: execution routines
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);
41 /*** inline functions ****************************************************************************/
42 #endif /* MC__EXECUTE_H */