Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
alias.h
Go to the documentation of this file.
1 
7 #ifndef ALIAS_H
8 #define ALIAS_H
9 
10 #include "constants.h"
11 #include "typedef.h"
12 #include <stdio.h>
13 #include <string.h>
14 #include <ctype.h>
15 #include <stdlib.h>
16 #include "utils.h"
17 
21 void init_aliases();
22 
29 int is_alias(const char *name, char *command);
30 
34 void free_aliases();
35 
40 void parse_aliases(char *input);
41 
42 #endif // ALIAS_H
is_alias
int is_alias(const char *name, char *command)
Try to get an alias for a given name.
Definition: alias.c:66
parse_aliases
void parse_aliases(char *input)
Parse the input to replace aliases.
Definition: alias.c:89
init_aliases
void init_aliases()
Initialize aliases from file.
Definition: alias.c:6
utils.h
File containing some utilities.
free_aliases
void free_aliases()
Free aliases.
Definition: alias.c:79
constants.h
Header file defining constants.
typedef.h
File containing all the typedefs used in the shell program.