blob: c76ae994d271102161e4e0366dfdec950829dce8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#if !defined(_LYHASH_H_)
#define _LYHASH_H_ 1
#include <HTUtils.h>
struct _hashbucket {
char *name; /* name of this item */
int code; /* code of this item */
int color; /* color highlighting to be done */
int mono; /* mono highlighting to be done */
int cattr; /* attributes to go with the color */
struct _hashbucket *next; /* next item */
};
typedef struct _hashbucket bucket;
#if !defined(CSHASHSIZE)
#ifdef NOT_USED
#define CSHASHSIZE 32768
#else
#define CSHASHSIZE 8193
#endif
#endif
#define NOSTYLE -1
extern bucket hashStyles[CSHASHSIZE];
extern int hash_code PARAMS((char* string));
#ifdef NOT_USED
extern int hash_table[CSHASHSIZE]; /* 32K should be big enough */
#endif
extern int s_alink, s_a, s_status,
s_label, s_value, s_high,
s_normal, s_alert, s_title;
#define CACHEW 128
#define CACHEH 64
extern unsigned cached_styles[CACHEH][CACHEW];
#endif /* _LYHASH_H_ */
|