]> git.ipfire.org Git - thirdparty/bash.git/blame - make_cmd.h
Imported from ../bash-1.14.7.tar.gz.
[thirdparty/bash.git] / make_cmd.h
CommitLineData
726f6388
JA
1/* make_cmd.h -- Declarations of functions found in make_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, 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21#if !defined (_MAKE_CMD_H_)
22#define _MAKE_CMD_H_
23
24#include "stdc.h"
25
26extern WORD_LIST *make_word_list __P((WORD_DESC *, WORD_LIST *));
27extern WORD_LIST *add_string_to_list __P((char *, WORD_LIST *));
28
29extern WORD_DESC *make_word __P((char *));
30extern WORD_DESC *make_word_from_token __P((int));
31
32extern COMMAND *make_command __P((enum command_type, SIMPLE_COM *));
33extern COMMAND *command_connect __P((COMMAND *, COMMAND *, int));
34extern COMMAND *make_for_command __P((WORD_DESC *, WORD_LIST *, COMMAND *));
35extern COMMAND *make_group_command __P((COMMAND *));
36extern COMMAND *make_case_command __P((WORD_DESC *, PATTERN_LIST *));
37extern PATTERN_LIST *make_pattern_list __P((WORD_LIST *, COMMAND *));
38extern COMMAND *make_if_command __P((COMMAND *, COMMAND *, COMMAND *));
39extern COMMAND *make_while_command __P((COMMAND *, COMMAND *));
40extern COMMAND *make_until_command __P((COMMAND *, COMMAND *));
41extern COMMAND *make_bare_simple_command __P((void));
42extern COMMAND *make_simple_command __P((ELEMENT, COMMAND *));
43extern void make_here_document __P((REDIRECT *));
44extern REDIRECT *make_redirection __P((int, enum r_instruction, REDIRECTEE));
45extern COMMAND *make_function_def __P((WORD_DESC *, COMMAND *));
46extern COMMAND *clean_simple_command __P((COMMAND *));
47extern char **make_word_array __P((WORD_LIST *));
48
49#if defined (SELECT_COMMAND)
50extern COMMAND *make_select_command __P((WORD_DESC *, WORD_LIST *, COMMAND *));
51#endif
52
53extern COMMAND *connect_async_list __P((COMMAND *, COMMAND *, int));
54
55#endif /* !_MAKE_CMD_H */