Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
history_command.h
Go to the documentation of this file.
1 
7 #ifndef HISTORY_COMMAND_H
8 #define HISTORY_COMMAND_H
9 
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include "typedef.h"
13 #include <string.h>
14 #include "constants.h"
15 
20 
25 void add_to_command_history(const char *command);
26 
31 
36 
37 #endif // HISTORY_COMMAND_H
add_to_command_history
void add_to_command_history(const char *command)
Add a command to the global command history.
Definition: history_command.c:12
init_command_history
void init_command_history()
Initialize the global command history.
Definition: history_command.c:5
load_command_history_from_file
void load_command_history_from_file()
Load the command history from the history file.
Definition: history_command.c:53
constants.h
Header file defining constants.
save_command_history_to_file
void save_command_history_to_file()
Save the command history to the history file.
Definition: history_command.c:27
typedef.h
File containing all the typedefs used in the shell program.