summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/history.h b/src/history.h
new file mode 100644
index 0000000..f206cba
--- /dev/null
+++ b/src/history.h
@@ -0,0 +1,14 @@
+#ifndef _RATPOISON_HISTORY_H
+#define _RATPOISON_HISTORY_H 1
+
+void history_load ();
+void history_save ();
+void history_resize (int size);
+void history_reset ();
+void history_add (char *item);
+char *history_next ();
+char *history_previous ();
+char *history_list_items ();
+int history_expand_line (char *string, char **output);
+
+#endif /* ! _RATPOISON_HISTORY_H */