mandriva: Srpm support for extfs
[midnight-commander.git] / src / execute.h
blobf5e95180c0104caa24a2b5009ebfbd51dade7345
1 #ifndef MC_EXECUTE_H
2 #define MC_EXECUTE_H
4 /* flags for shell_execute */
5 #define EXECUTE_INTERNAL (1 << 0)
6 #define EXECUTE_AS_SHELL (1 << 2)
7 #define EXECUTE_HIDE (1 << 3)
9 /* Execute functions that use the shell to execute */
10 void shell_execute (const char *command, int flags);
12 /* This one executes a shell */
13 void exec_shell (void);
15 /* Handle toggling panels by Ctrl-O */
16 void toggle_panels (void);
18 /* Handle toggling panels by Ctrl-Z */
19 void suspend_cmd (void);
21 /* Execute command on a filename that can be on VFS */
22 void execute_with_vfs_arg (const char *command, const char *filename);
24 #endif /* !MC_EXECUTE_H */