aboutsummaryrefslogtreecommitdiffstats
path: root/func.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 17:02:43 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 17:02:43 +0000
commit14f4297a049dd0d33425fccb8281abdac5d67ad6 (patch)
tree66af16621c3dc1f36d42b671848a800f29be9da0 /func.h
parent[w3m-dev 02650] (diff)
downloadw3m-14f4297a049dd0d33425fccb8281abdac5d67ad6.tar.gz
w3m-14f4297a049dd0d33425fccb8281abdac5d67ad6.zip
[w3m-dev 02651] search keymap using hash
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'func.h')
-rw-r--r--func.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/func.h b/func.h
index 07b3d68..49107a7 100644
--- a/func.h
+++ b/func.h
@@ -1,4 +1,4 @@
-/* $Id: func.h,v 1.2 2001/11/20 17:49:23 ukai Exp $ */
+/* $Id: func.h,v 1.3 2001/12/10 17:02:44 ukai Exp $ */
/*
* w3m func.h
*/
@@ -6,6 +6,11 @@
#ifndef FUNC_H
#define FUNC_H
+#include "textlist.h"
+#include "hash.h"
+
+#define KEY_HASH_SIZE 127
+
#define K_ESC 0x100
#define K_ESCB 0x200
#define K_ESCD 0x400
@@ -15,15 +20,4 @@ typedef struct _FuncList {
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 */