| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | /* make_cmd.h -- Declarations of functions found in make_cmd.c */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* Copyright (C) 1993 Free Software Foundation, Inc.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    This file is part of GNU Bash, the Bourne Again SHell. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    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 2, or (at your option) any later | 
					
						
							|  |  |  |    version. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    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. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |    You should have received a copy of the GNU General Public License along | 
					
						
							|  |  |  |    with Bash; see the file COPYING.  If not, write to the Free Software | 
					
						
							| 
									
										
										
										
											2000-03-17 21:46:59 +00:00
										 |  |  |    Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #if !defined (_MAKE_CMD_H_)
 | 
					
						
							|  |  |  | #define _MAKE_CMD_H_
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "stdc.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern WORD_LIST *make_word_list __P((WORD_DESC *, WORD_LIST *)); | 
					
						
							|  |  |  | extern WORD_LIST *add_string_to_list __P((char *, WORD_LIST *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1996-12-23 17:02:34 +00:00
										 |  |  | extern WORD_DESC *make_bare_word __P((char *)); | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern WORD_DESC *make_word __P((char *)); | 
					
						
							|  |  |  | extern WORD_DESC *make_word_from_token __P((int)); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern COMMAND *make_command __P((enum command_type, SIMPLE_COM *)); | 
					
						
							|  |  |  | extern COMMAND *command_connect __P((COMMAND *, COMMAND *, int)); | 
					
						
							|  |  |  | extern COMMAND *make_for_command __P((WORD_DESC *, WORD_LIST *, COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_group_command __P((COMMAND *)); | 
					
						
							|  |  |  | extern COMMAND *make_case_command __P((WORD_DESC *, PATTERN_LIST *)); | 
					
						
							|  |  |  | 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 *)); | 
					
						
							|  |  |  | extern void make_here_document __P((REDIRECT *)); | 
					
						
							|  |  |  | extern REDIRECT *make_redirection __P((int, enum r_instruction, REDIRECTEE)); | 
					
						
							| 
									
										
										
										
											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 *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *make_select_command __P((WORD_DESC *, WORD_LIST *, COMMAND *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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 *)); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1996-08-26 18:22:31 +00:00
										 |  |  | extern COMMAND *connect_async_list __P((COMMAND *, COMMAND *, int)); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* !_MAKE_CMD_H */
 |