1
#if !defined(_LYHASH_H_)
8
#define OMIT_SCN_KEEPING 0 /* whether to omit keeping of Style_className
9
in HTML.c when lss support is on. 1 to increase performance. */
12
char *name; /* name of this item */
13
int code; /* code of this item */
14
int color; /* color highlighting to be done */
15
int mono; /* mono highlighting to be done */
16
int cattr; /* attributes to go with the color */
17
struct _hashbucket *next; /* next item */
20
typedef struct _hashbucket bucket;
22
#if !defined(CSHASHSIZE)
23
#define CSHASHSIZE 8193
28
extern bucket hashStyles[CSHASHSIZE];
29
extern int hash_code PARAMS((CONST char* string));
30
extern bucket nostyle_bucket;/*initialized properly - to be used in CTRACE when
31
NOSTYLE is passed as 'style' to curses_w_style */
33
extern int hash_code_lowercase_on_fly PARAMS((CONST char* string));
34
extern int hash_code_aggregate_char PARAMS((char c,int hash));
35
extern int hash_code_aggregate_lower_str PARAMS((CONST char* c, int hash_was));
39
extern int s_aedit_arr;
40
extern int s_aedit_pad;
41
extern int s_aedit_sel;
45
extern int s_forw_backw;
46
extern int s_hot_paste;
47
extern int s_menu_active;
49
extern int s_menu_entry;
50
extern int s_menu_frame;
51
extern int s_menu_number;
54
extern int s_prompt_edit;
55
extern int s_prompt_edit_arr;
56
extern int s_prompt_edit_pad;
57
extern int s_prompt_sel;
70
extern bucket special_bucket;
76
extern unsigned cached_styles[CACHEH][CACHEW];
78
#endif /* _LYHASH_H_ */