2 * Copyright (C) 1991 by the Massachusetts Institute of Technology.
3 * For copying and distribution information, see the file "mit-copyright.h".
8 #include <zephyr/mit-copyright.h>
11 #define __zstring_h __FILE__
13 #define STRING_HASH_TABLE_SIZE 1024
17 typedef struct _String
19 char *string; /* the string itself */
20 int ref_count; /* for gc */
21 unsigned long hash_val; /* hash value for this string */
22 struct _String *next, *prev; /* for linking in hash table */
25 String *make_string __P((char *s, int downcase));
26 void free_string __P((String *z));
27 String *find_string __P((char *s, int downcase));
28 String *dup_string __P((String *z));
29 int comp_string __P((String *a, String *b));
30 void print_string_table __P((FILE *f));
32 #endif /* __zstring_h */