|
42sh 1.0.0
Create a shell in C
|
The file containing the parsing functions. More...
#include "../../include/myshell.h"Functions | |
| char | char_is_inhibited (char *str, int index) |
| Check if a character is inhibited. | |
| int | char_is_paranthesed (char *str, int index) |
| Check if a char is paranthesed. | |
| int | char_is_protected (char *str, int index) |
| Check if a char is protected. | |
| char * | find_valid_str (char *str, char const *to_find) |
| Find a valid string in a string depending on inhibitors and parentheses. | |
| int | is_valid_variable (char *variable, char *builtin) |
| Check if the variable is valid. | |
The file containing the parsing functions.
| char char_is_inhibited | ( | char * | str, |
| int | index ) |
Check if a character is inhibited.
| str | The string to check |
| index | The index of the character |
| int char_is_paranthesed | ( | char * | str, |
| int | index ) |
Check if a char is paranthesed.
| str | The string |
| index | The index |
| int char_is_protected | ( | char * | str, |
| int | index ) |
Check if a char is protected.
| str | The string |
| index | The index |
| char * find_valid_str | ( | char * | str, |
| char const * | to_find ) |
Find a valid string in a string depending on inhibitors and parentheses.
| str | The string to check |
| to_find | The string to find |
| int is_valid_variable | ( | char * | variable, |
| char * | builtin ) |
Check if the variable is valid.
| variable | The variable |
| builtin | The builtin who called the function |