diff options
author | Alex Auvolat <alex@adnab.me> | 2016-07-16 15:59:46 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-07-16 15:59:46 +0200 |
commit | 3d6a857b9186ef6304ea6cf04627c2b787169f29 (patch) | |
tree | 756179ce1e1838f75c57e3efec2a570d72051594 /src/lib/include/readline | |
parent | 59000174aa50ed6b2d24a71576d15e6a53c5be0c (diff) | |
download | kogata-3d6a857b9186ef6304ea6cf04627c2b787169f29.tar.gz kogata-3d6a857b9186ef6304ea6cf04627c2b787169f29.zip |
Make way for libc implementation
Diffstat (limited to 'src/lib/include/readline')
-rw-r--r-- | src/lib/include/readline/history.h | 5 | ||||
-rw-r--r-- | src/lib/include/readline/readline.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/include/readline/history.h b/src/lib/include/readline/history.h new file mode 100644 index 0000000..3b98ca2 --- /dev/null +++ b/src/lib/include/readline/history.h @@ -0,0 +1,5 @@ +#pragma once + +#include "readline.h" + +/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/ diff --git a/src/lib/include/readline/readline.h b/src/lib/include/readline/readline.h new file mode 100644 index 0000000..ae3e05c --- /dev/null +++ b/src/lib/include/readline/readline.h @@ -0,0 +1,6 @@ +#pragma once + +char* readline(const char* prompt); +void add_history(const char* line); + +/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/ |