| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | /* make_cmd.h -- Declarations of functions found in make_cmd.c */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  | /* Copyright (C) 1993-2009 Free Software Foundation, Inc.
 | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |    This file is part of GNU Bash, the Bourne Again SHell. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  |    Bash is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  |    it under the terms of the GNU General Public License as published by | 
					
						
							|  |  |  |    the Free Software Foundation, either version 3 of the License, or | 
					
						
							|  |  |  |    (at your option) any later version. | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  |    Bash is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |    but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  |    GNU General Public License for more details. | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  |    You should have received a copy of the GNU General Public License | 
					
						
							|  |  |  |    along with Bash.  If not, see <http://www.gnu.org/licenses/>.
 | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #if !defined (_MAKE_CMD_H_)
 | 
					
						
							|  |  |  | #define _MAKE_CMD_H_
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "stdc.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2002-07-17 14:10:11 +00:00
										 |  |  | extern void cmd_init __P((void)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-12-07 14:08:12 +00:00
										 |  |  | extern WORD_DESC *alloc_word_desc __P((void)); | 
					
						
							| 
									
										
										
										
											2001-11-13 17:56:06 +00:00
										 |  |  | extern WORD_DESC *make_bare_word __P((const char *)); | 
					
						
							|  |  |  | extern WORD_DESC *make_word_flags __P((WORD_DESC *, const char *)); | 
					
						
							|  |  |  | extern WORD_DESC *make_word __P((const char *)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern WORD_DESC *make_word_from_token __P((int)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2002-07-17 14:10:11 +00:00
										 |  |  | extern WORD_LIST *make_word_list __P((WORD_DESC *, WORD_LIST *)); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define add_string_to_list(s, l) make_word_list (make_word(s), (l))
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *make_command __P((enum command_type, SIMPLE_COM *)); | 
					
						
							|  |  |  | extern COMMAND *command_connect __P((COMMAND *, COMMAND *, int)); | 
					
						
							| 
									
										
										
										
											2004-07-27 13:29:18 +00:00
										 |  |  | extern COMMAND *make_for_command __P((WORD_DESC *, WORD_LIST *, COMMAND *, int)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *make_group_command __P((COMMAND *)); | 
					
						
							| 
									
										
										
										
											2004-07-27 13:29:18 +00:00
										 |  |  | extern COMMAND *make_case_command __P((WORD_DESC *, PATTERN_LIST *, int)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern PATTERN_LIST *make_pattern_list __P((WORD_LIST *, COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_if_command __P((COMMAND *, COMMAND *, COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_while_command __P((COMMAND *, COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_until_command __P((COMMAND *, COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_bare_simple_command __P((void)); | 
					
						
							|  |  |  | extern COMMAND *make_simple_command __P((ELEMENT, COMMAND *)); | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  | extern void make_here_document __P((REDIRECT *, int)); | 
					
						
							| 
									
										
										
										
											2011-11-21 20:51:19 -05:00
										 |  |  | extern REDIRECT *make_redirection __P((REDIRECTEE, enum r_instruction, REDIRECTEE, int)); | 
					
						
							| 
									
										
										
										
											1996-12-23 17:02:34 +00:00
										 |  |  | extern COMMAND *make_function_def __P((WORD_DESC *, COMMAND *, int, int)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *clean_simple_command __P((COMMAND *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | extern COMMAND *make_arith_command __P((WORD_LIST *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-27 13:29:18 +00:00
										 |  |  | extern COMMAND *make_select_command __P((WORD_DESC *, WORD_LIST *, COMMAND *, int)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											1998-04-17 19:52:44 +00:00
										 |  |  | #if defined (COND_COMMAND)
 | 
					
						
							|  |  |  | extern COND_COM *make_cond_node __P((int, WORD_DESC *, COND_COM *, COND_COM *)); | 
					
						
							|  |  |  | extern COMMAND *make_cond_command __P((COND_COM *)); | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | extern COMMAND *make_arith_for_command __P((WORD_LIST *, COMMAND *, int)); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern COMMAND *make_subshell_command __P((COMMAND *)); | 
					
						
							| 
									
										
										
										
											2009-01-12 13:36:28 +00:00
										 |  |  | extern COMMAND *make_coproc_command __P((char *, COMMAND *)); | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *connect_async_list __P((COMMAND *, COMMAND *, int)); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* !_MAKE_CMD_H */
 |