Bash
5.0-beta2
Bash - Bourne Again shell
|
#include "stdc.h"
Go to the source code of this file.
Data Structures | |
union | INPUT_STREAM |
struct | BASH_INPUT |
Macros | |
#define | _FUNCTION_DEF |
Typedefs | |
typedef int | Function() |
typedef void | VFunction() |
typedef char * | CPFunction() |
typedef char ** | CPPFunction() |
typedef int sh_cget_func_t | __P((void)) |
Enumerations | |
enum | stream_type { st_none, st_stdin, st_stream, st_string, st_bstream } |
Functions | |
void initialize_bash_input | __P ((void)) |
void init_yy_io | __P ((sh_cget_func_t *, sh_cunget_func_t *, enum stream_type, const char *, INPUT_STREAM)) |
void with_input_from_string | __P ((char *, const char *)) |
void with_input_from_stream | __P ((FILE *, const char *)) |
void push_stream | __P ((int)) |
int stream_on_stack | __P ((enum stream_type)) |
int find_reserved_word | __P ((char *)) |
void execute_variable_command | __P ((char *, char *)) |
void restore_token_state | __P ((int *)) |
int getc_with_restart | __P ((FILE *)) |
int ungetc_with_restart | __P ((int, FILE *)) |
Variables | |
BASH_INPUT | bash_input |
struct BASH_INPUT |
Data Fields | ||
---|---|---|
enum stream_type | type | |
char * | name | |
INPUT_STREAM | location | |
sh_cget_func_t * | getter | |
sh_cunget_func_t * | ungetter |
enum stream_type |
Enumerator | |
---|---|
st_none | |
st_stdin | |
st_stream | |
st_string | |
st_bstream |
Definition at line 38 of file input.h.
void initialize_bash_input __P | ( | (void) | ) |
void init_yy_io __P | ( | (sh_cget_func_t *, sh_cunget_func_t *, enum stream_type, const char *, INPUT_STREAM) | ) |
void with_input_from_string __P | ( | (char *, const char *) | ) |
void with_input_from_stream __P | ( | (FILE *, const char *) | ) |
void push_stream __P | ( | (int) | ) |
int stream_on_stack __P | ( | (enum stream_type) | ) |
int find_reserved_word __P | ( | (char *) | ) |
void execute_variable_command __P | ( | (char *, char *) | ) |
void restore_token_state __P | ( | (int *) | ) |
int getc_with_restart __P | ( | (FILE *) | ) |
int ungetc_with_restart __P | ( | (int, FILE *) | ) |
BASH_INPUT bash_input |
Referenced by parse_and_execute(), parse_command(), parse_string(), should_suppress_fork(), ungetc_with_restart(), unset_bash_input(), and yyparse().