Bash style history

This commit is contained in:
James Booth
2012-05-01 00:24:31 +01:00
parent 4531aebd29
commit 1730372e00
12 changed files with 152 additions and 203 deletions

View File

@@ -25,8 +25,8 @@
#define HISTORY_H
void history_init(void);
void history_append(const char * const inp);
char *history_previous(void);
char *history_next(void);
void history_append(char *inp);
char *history_previous(char *inp, int *size);
char *history_next(char *inp, int *size);
#endif