diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2018-03-09 01:45:26 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2018-03-09 01:45:26 +0000 |
commit | 82107ab8e0468191d32dfc0eb2b9e105c1a6aaff (patch) | |
tree | 28a2cb178d5f194de74d13d630238293b427849a /src/LYHash.h | |
parent | 9b7b3896381522f1b70c8e7d803db8103cccd7a1 (diff) | |
download | lynx-snapshots-82107ab8e0468191d32dfc0eb2b9e105c1a6aaff.tar.gz |
snapshot of project "lynx", label v2-8-9dev_16p
Diffstat (limited to 'src/LYHash.h')
-rw-r--r-- | src/LYHash.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/LYHash.h b/src/LYHash.h index d0c3088c..7d0a1666 100644 --- a/src/LYHash.h +++ b/src/LYHash.h @@ -1,4 +1,4 @@ -/* $LynxId: LYHash.h,v 1.34 2018/03/04 20:02:45 tom Exp $ */ +/* $LynxId: LYHash.h,v 1.38 2018/03/06 23:28:12 tom Exp $ */ #ifndef _LYHASH_H_ #define _LYHASH_H_ 1 @@ -11,23 +11,21 @@ extern "C" { #endif typedef struct { char *name; /* name of this item */ - int code; /* code of this item */ + BOOL used; /* color/attributes have been assigned */ int color; /* color highlighting to be done */ int mono; /* mono highlighting to be done */ int cattr; /* attributes to go with the color */ } bucket; -#ifndef CSHASHSIZE #define CSHASHSIZE 9973 /* Arbitrary prime. Memory/speed tradeoff */ -#endif #define NOSTYLE -1 extern bucket hashStyles[CSHASHSIZE]; extern bucket *nostyle_bucket(void); - extern int hash_code_1(const char *string); - extern int hash_code_3(const char *p, const char *q, const char *r); + extern int color_style_1(const char *string); + extern int color_style_3(const char *p, const char *q, const char *r); extern int s_a; extern int s_aedit; |