1 /* $Id: func.h,v 1.4 2002/12/03 16:01:33 ukai Exp $ */
2 /*
3  * w3m func.h
4  */
5 
6 #ifndef FUNC_H
7 #define FUNC_H
8 
9 #include "textlist.h"
10 #include "hash.h"
11 
12 #define KEY_HASH_SIZE 127
13 
14 #define K_ESC  0x100
15 #define K_ESCB 0x200
16 #define K_ESCD 0x400
17 #define K_MULTI 0x10000000
18 #define MULTI_KEY(c) (((c) >> 16) & 0x77F)
19 
20 typedef struct _FuncList {
21     char *id;
22     void (*func) ();
23 } FuncList;
24 
25 #endif				/* not FUNC_H */
26