summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-02-22 22:23:06 +0100
committerDaniel Carl <danielcarl@gmx.de>2013-02-22 22:23:06 +0100
commitabc1b35c806bd61eed4fda5a08fd6910e275c988 (patch)
tree62a625c8d8215d704e1c6120dd95630c81bd73e7 /src/history.h
parentb5d07ab1291fbebb15f4d231b40cce8ebbdc262e (diff)
Added command to navigate in command history (#7).
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/history.h b/src/history.h
new file mode 100644
index 0000000..476a46c
--- /dev/null
+++ b/src/history.h
@@ -0,0 +1,27 @@
+/**
+ * vimp - a webkit based vim like browser.
+ *
+ * Copyright (C) 2012-2013 Daniel Carl
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ */
+
+#ifndef _HISTORY_H
+#define _HISTORY_H
+
+void history_cleanup(void);
+void history_append(const char* line);
+void history_rewind(void);
+
+#endif /* end of include guard: _HISTORY_H */