maxishell
Implementation of a shell for Linux-like systems
|
#include <shell.h>
Public Attributes | |
struct termios * | terminal |
char ** | args |
t_env * | envp |
t_env * | shell_variables |
int | std_in |
int | std_out |
int | std_err |
char * | current_dir |
int | exit_status |
char** s_ms_data::args |
Definition at line 23 of file shell.h.
Referenced by add_env(), builtin_cd(), builtin_echo(), builtin_env(), builtin_exit(), builtin_export(), builtin_pipe_test(), builtin_unset(), child_process(), execute(), execute_ast(), handle_exec_errors(), init_ms_data(), and main_loop().
char* s_ms_data::current_dir |
Definition at line 29 of file shell.h.
Referenced by free_ms_data(), and init_ms_data().
t_env* s_ms_data::envp |
Definition at line 24 of file shell.h.
Referenced by add_env(), builtin_cd(), builtin_env(), builtin_export(), builtin_unset(), child_process(), env_tests(), free_ms_data(), generate_prompt_string(), get_env_variable(), handle_exec_errors(), init_ms_data(), test_get_env(), test_init_env(), test_set_env(), and test_unset_env().
int s_ms_data::exit_status |
Definition at line 30 of file shell.h.
Referenced by builtin_env(), execute_child(), exit_status_handler(), init_ms_data(), process_command(), set_shell_var_handler(), and shell_variable_update().
t_env* s_ms_data::shell_variables |
Definition at line 25 of file shell.h.
Referenced by builtin_env(), free_ms_data(), get_env_variable(), get_exit_status(), handle_get_shell_variable(), handle_local_vars(), init_ms_data(), set_shell_var_handler(), and shell_variable_update().
int s_ms_data::std_err |
Definition at line 28 of file shell.h.
Referenced by free_ms_data(), and init_ms_data().
int s_ms_data::std_in |
Definition at line 26 of file shell.h.
Referenced by child_process(), execute_child(), free_ms_data(), handle_io_fd(), init_ms_data(), new_process(), and setup_pipe_processes().
int s_ms_data::std_out |
Definition at line 27 of file shell.h.
Referenced by builtin_echo(), child_process(), free_ms_data(), handle_get_shell_variable(), handle_io_fd(), init_ms_data(), new_process(), open_and_redirect(), and open_and_redirect().