1 /* $RCSfile: hash.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:10:33 $
3 * Copyright (c) 1991, Larry Wall
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
9 * Revision 4.0.1.1 91/06/07 11:10:33 lwall
10 * patch4: new copyright notice
12 * Revision 4.0 91/03/20 01:22:38 lwall
17 #define FILLPCT 80 /* don't make greater than 99 */
18 #define DBM_CACHE_MAX 63 /* cache 64 entries for dbm file */
19 /* (resident array acts as a write-thru cache)*/
21 #define COEFFSIZE (16 * 8) /* size of coeff array */
23 typedef struct hentry HENT;
35 int tbl_max; /* subscript of last element of tbl_array */
36 int tbl_dosplit; /* how full to get before splitting */
37 int tbl_fill; /* how full tbl_array currently is */
38 int tbl_riter; /* current root of iterator */
39 HENT *tbl_eiter; /* current entry of iterator */
40 SPAT *tbl_spatroot; /* list of spats for this package */
41 char *tbl_name; /* name, if a symbol table */
53 unsigned char tbl_coeffsize; /* is 0 for symbol tables */