aboutsummaryrefslogtreecommitdiffstats
path: root/func.h
diff options
context:
space:
mode:
Diffstat (limited to 'func.h')
-rw-r--r--func.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/func.h b/func.h
new file mode 100644
index 0000000..9fb0989
--- /dev/null
+++ b/func.h
@@ -0,0 +1,28 @@
+/*
+ * w3m func.h
+ */
+
+#ifndef FUNC_H
+#define FUNC_H
+
+#define K_ESC 0x100
+#define K_ESCB 0x200
+#define K_ESCD 0x400
+
+typedef struct _FuncList {
+ char *id;
+ void (*func) ();
+} FuncList;
+
+typedef struct _KeyListItem {
+ int key;
+ char *data;
+} KeyListItem;
+
+typedef struct _KeyList {
+ KeyListItem *item;
+ int nitem;
+ int size;
+} KeyList;
+
+#endif /* not FUNC_H */