Some optimization of loops in translation functions.
[midnight-commander.git] / src / execute.h
blob87b8f4fc1c08435d576d00031946d23106ca17c4
2 /** \file execute.h
3 * \brief Header: execution routines
4 */
6 #ifndef MC_EXECUTE_H
7 #define MC_EXECUTE_H
9 /* flags for shell_execute */
10 #define EXECUTE_INTERNAL (1 << 0)
11 #define EXECUTE_AS_SHELL (1 << 2)
12 #define EXECUTE_HIDE (1 << 3)
14 /* Execute functions that use the shell to execute */
15 void shell_execute (const char *command, int flags);
17 /* This one executes a shell */
18 void exec_shell (void);
20 /* Handle toggling panels by Ctrl-O */
21 void toggle_panels (void);
23 /* Handle toggling panels by Ctrl-Z */
24 void suspend_cmd (void);
26 /* Execute command on a filename that can be on VFS */
27 void execute_with_vfs_arg (const char *command, const char *filename);
29 void post_exec (void);
30 void pre_exec (void);
32 #endif /* MC_EXECUTE_H */