[w3m-dev 02651] search keymap using hash

From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2001-12-10 17:02:43 +00:00
parent 0b03496f19
commit 14f4297a04
17 changed files with 191 additions and 141 deletions

18
func.h
View File

@@ -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 */