aboutsummaryrefslogtreecommitdiffstats
path: root/func.h
diff options
context:
space:
mode:
authorAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-08 05:14:08 +0000
committerAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-08 05:14:08 +0000
commit68a07bf03b7624c9924065cce9ffa45497225834 (patch)
treec2adb06a909a8594445e4a3f8587c4bad46e3ecd /func.h
downloadw3m-68a07bf03b7624c9924065cce9ffa45497225834.tar.gz
w3m-68a07bf03b7624c9924065cce9ffa45497225834.zip
Initial revision
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 */