Deleted Added
full compact
hash.h (34461) hash.h (66525)
1/*
2 * Copyright (c) 1992, Brian Berliner and Jeff Polk
3 *
4 * You may distribute under the terms of the GNU General Public License as
5 * specified in the README file that comes with the CVS source distribution.
6 */
7
8/*
9 * The number of buckets for the hash table contained in each list. This
10 * should probably be prime.
11 */
12#define HASHSIZE 151
13
14/*
15 * Types of nodes
16 */
17enum ntype
18{
1/*
2 * Copyright (c) 1992, Brian Berliner and Jeff Polk
3 *
4 * You may distribute under the terms of the GNU General Public License as
5 * specified in the README file that comes with the CVS source distribution.
6 */
7
8/*
9 * The number of buckets for the hash table contained in each list. This
10 * should probably be prime.
11 */
12#define HASHSIZE 151
13
14/*
15 * Types of nodes
16 */
17enum ntype
18{
19 UNKNOWN, HEADER, ENTRIES, FILES, LIST, RCSNODE,
19 NT_UNKNOWN, HEADER, ENTRIES, FILES, LIST, RCSNODE,
20 RCSVERS, DIRS, UPDATE, LOCK, NDBMNODE, FILEATTR,
20 RCSVERS, DIRS, UPDATE, LOCK, NDBMNODE, FILEATTR,
21 VARIABLE, RCSFIELD
21 VARIABLE, RCSFIELD, RCSCMPFLD
22};
23typedef enum ntype Ntype;
24
25struct node
26{
27 Ntype type;
28 struct node *next;
29 struct node *prev;

--- 30 unchanged lines hidden ---
22};
23typedef enum ntype Ntype;
24
25struct node
26{
27 Ntype type;
28 struct node *next;
29 struct node *prev;

--- 30 unchanged lines hidden ---