aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/edbox.h')
-rw-r--r--src/edbox.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/edbox.h b/src/edbox.h
new file mode 100644
index 0000000..ad70cc6
--- /dev/null
+++ b/src/edbox.h
@@ -0,0 +1,14 @@
+#include "addrs.h"
+
+/**** public API ****/
+
+#define EDBOX_SIZE 160
+
+void edbox_clear(void);
+void edbox_show(void);
+void edbox_hide(void);
+void edbox_putc(char c);
+void edbox_keystroke(void);
+
+/* called when the user presses Enter */
+extern void (*edbox_callback)(void);