|
Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
|
Go to the documentation of this file.
7 #ifndef COMMAND_SEQUENCE_H
8 #define COMMAND_SEQUENCE_H
32 void process_token(
char *token,
char **commands,
char **operators,
char **currentCommand,
int *cmdIndex,
int *opIndex);
40 void store_command(
char **commands,
char **currentCommand,
int *cmdIndex);
49 #endif // COMMAND_SEQUENCE_H
Struct that represents a command sequence.
Definition: typedef.h:123
File containing the operator functions to manage the operators that can be used in the shell.
void store_command(char **commands, char **currentCommand, int *cmdIndex)
Stores the current command in the commands array.
Definition: command_sequence.c:95
File containing the scheduler functions to manage the execution of commands.
File containing the command functions to manage the commands entered by the user (parsing,...
void process_token(char *token, char **commands, char **operators, char **currentCommand, int *cmdIndex, int *opIndex)
Checks if the given token is a command or an operator.
Definition: command_sequence.c:65
void command_sequence_init(char *input)
Initialize the command sequence module.
Definition: command_sequence.c:3
File containing the redirection functions to manage the redirection operators such as '<',...
void free_command_sequence(CommandSequence *sequence)
Definition: command_sequence.c:104
Header file defining constants.