maxishell
Implementation of a shell for Linux-like systems
|
#include "tokens.h"
Go to the source code of this file.
Functions | |
void | free_op_strings (t_loop_data *data, char *tail, char *new) |
int | check_operators (t_loop_data *loop_data) |
int | check_redirections (const char *str) |
int | check_open_quotes (const char *str) |
int | input_error_checks (t_loop_data *loop_data) |
int check_open_quotes | ( | const char * | str | ) |
Definition at line 76 of file input_checker.c.
Referenced by input_error_checks().
int check_operators | ( | t_loop_data * | loop_data | ) |
Definition at line 22 of file input_checker.c.
References free_op_strings(), ft_strcat_const(), and s_loop_data::trimmed_input.
Referenced by input_error_checks().
int check_redirections | ( | const char * | str | ) |
Definition at line 51 of file input_checker.c.
References valid_operator().
Referenced by input_error_checks().
void free_op_strings | ( | t_loop_data * | data, |
char * | tail, | ||
char * | new | ||
) |
Definition at line 15 of file input_checker.c.
References s_loop_data::trimmed_input.
Referenced by check_operators().
int input_error_checks | ( | t_loop_data * | loop_data | ) |
Definition at line 96 of file input_checker.c.
References check_open_quotes(), check_operators(), check_redirections(), ft_printf(), and s_loop_data::trimmed_input.
Referenced by main_loop().