2024-01-31 02:02:32 +01:00
|
|
|
#ifndef HISTORY_H_
|
|
|
|
#define HISTORY_H_
|
|
|
|
|
2024-02-10 18:29:58 +01:00
|
|
|
extern int cmd_count;
|
|
|
|
|
2024-02-09 02:18:14 +01:00
|
|
|
void save_command_history(char *args);
|
2024-11-05 00:53:11 +01:00
|
|
|
void check_history_file(void);
|
2024-01-31 02:02:32 +01:00
|
|
|
char *read_command(int direction);
|
2024-02-08 20:49:11 +01:00
|
|
|
char **get_all_history(bool check);
|
2024-01-31 02:02:32 +01:00
|
|
|
|
|
|
|
#endif
|