Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
include
input_parser.h
Go to the documentation of this file.
1
7
#ifndef INPUT_PARSER_H
8
#define INPUT_PARSER_H
9
10
#include <string.h>
11
#include <stdlib.h>
12
#include <stdio.h>
13
#include "
operator.h
"
14
#include <ctype.h>
15
#include "
constants.h
"
16
#include <termios.h>
17
#include <unistd.h>
18
#include "
history_command.h
"
19
#include "
console.h
"
20
25
char
*
read_input
(
char
*input);
26
32
int
is_all_whitespace
(
const
char
*input);
33
38
void
preprocess_input
(
char
*input);
39
40
#endif // INPUT_PARSER_H
operator.h
File containing the operator functions to manage the operators that can be used in the shell.
is_all_whitespace
int is_all_whitespace(const char *input)
Checks if the input string is all whitespace.
Definition:
input_parser.c:27
history_command.h
File containing the functions to manage (load & save, etc.) the history of commands entered by the us...
console.h
File containing the console functions to manage the console (print information, etc....
constants.h
Header file defining constants.
preprocess_input
void preprocess_input(char *input)
Parses the input string into commands and operators.
Definition:
input_parser.c:39
read_input
char * read_input(char *input)
Reads the input from the console.
Definition:
input_parser.c:3
Generated by
1.8.17