Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 254 Bytes
#define HISTORYMAX 10
//Struct
typedef struct history_node
{
char * command_text;
struct history_node * next;
} hnode;
//Prototype
void history_add(char * new_command);
void history_exec(int history_number);
void history_free();
void history_list();