Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
command.h
Go to the documentation of this file.
1 
7 #ifndef COMMAND_H
8 #define COMMAND_H
9 
10 #include "typedef.h"
11 #include <stdio.h>
12 #include <stdlib.h>
13 #include <string.h>
14 #include "utils.h"
15 #include "alias.h"
16 
22 Command evaluate_command(const char *input);
23 
28 void free_command(Command *cmd);
29 
36 
41 void init_command(Command *cmd);
42 
43 #endif // COMMAND_H
free_command
void free_command(Command *cmd)
Free a command.
Definition: command.c:80
evaluate_command
Command evaluate_command(const char *input)
Evaluate a command from a string.
Definition: command.c:3
alias.h
Managing livl-shell aliases.
Command
Struct that represents a command.
Definition: typedef.h:97
utils.h
File containing some utilities.
init_command
void init_command(Command *cmd)
Initialize a command.
Definition: command.c:67
get_complete_command_array
void get_complete_command_array(Command *cmd)
Get the complete command (command + arguments) as a string.
Definition: command.c:49
typedef.h
File containing all the typedefs used in the shell program.