about summary refs log tree commit diff stats
path: root/history.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-05-01 00:24:31 +0100
committerJames Booth <boothj5@gmail.com>2012-05-01 00:24:31 +0100
commit1730372e00a7469a05c7535c68dbfab83f8af0b4 (patch)
tree9278455cd79141634465863bbcfd0d0595b232ad /history.h
parent4531aebd291186e9dd49fb2ec1f1b9b96a4ed23f (diff)
downloadprofani-tty-1730372e00a7469a05c7535c68dbfab83f8af0b4.tar.gz
Bash style history
Diffstat (limited to 'history.h')
-rw-r--r--history.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/history.h b/history.h
index 7afca5e1..a65ac397 100644
--- a/history.h
+++ b/history.h
@@ -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