1 | /* execute_cmd.h - functions from execute_cmd.c. */
|
---|
2 |
|
---|
3 | /* Copyright (C) 1993 Free Software Foundation, Inc.
|
---|
4 |
|
---|
5 | This file is part of GNU Bash, the Bourne Again SHell.
|
---|
6 |
|
---|
7 | Bash is free software; you can redistribute it and/or modify it under
|
---|
8 | the terms of the GNU General Public License as published by the Free
|
---|
9 | Software Foundation; either version 2, or (at your option) any later
|
---|
10 | version.
|
---|
11 |
|
---|
12 | Bash is distributed in the hope that it will be useful, but WITHOUT ANY
|
---|
13 | WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
---|
14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
---|
15 | for more details.
|
---|
16 |
|
---|
17 | You should have received a copy of the GNU General Public License along
|
---|
18 | with Bash; see the file COPYING. If not, write to the Free Software
|
---|
19 | Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
|
---|
20 |
|
---|
21 | #if !defined (_EXECUTE_CMD_H_)
|
---|
22 | #define _EXECUTE_CMD_H_
|
---|
23 |
|
---|
24 | #include "stdc.h"
|
---|
25 |
|
---|
26 | extern struct fd_bitmap *new_fd_bitmap __P((int));
|
---|
27 | extern void dispose_fd_bitmap __P((struct fd_bitmap *));
|
---|
28 | extern void close_fd_bitmap __P((struct fd_bitmap *));
|
---|
29 | extern int executing_line_number __P((void));
|
---|
30 | extern int execute_command __P((COMMAND *));
|
---|
31 | extern int execute_command_internal __P((COMMAND *, int, int, int, struct fd_bitmap *));
|
---|
32 | extern int shell_execve __P((char *, char **, char **));
|
---|
33 | extern void setup_async_signals __P((void));
|
---|
34 | extern void dispose_exec_redirects __P ((void));
|
---|
35 |
|
---|
36 | extern int execute_shell_function __P((SHELL_VAR *, WORD_LIST *));
|
---|
37 |
|
---|
38 | #if defined (PROCESS_SUBSTITUTION)
|
---|
39 | extern void close_all_files __P((void));
|
---|
40 | #endif
|
---|
41 |
|
---|
42 | #endif /* _EXECUTE_CMD_H_ */
|
---|