1 /*	compact.h	4.1	83/02/11	*/
2 
3 #define VAX 11/780
4 
5 
6 #ifdef VAX
7 typedef int longint;
8 #else
9 typedef long longint;
10 #include <retrofit.h>
11 #endif
12 
13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #include <stdio.h>
16 
17 #define LNAME 80
18 #define NEW flist; flist = flist -> next
19 #define LLEAF 010
20 #define RLEAF 04
21 #define SEEN 02
22 #define FBIT 01
23 #define COMPACTED 017777
24 #define PACKED 017437
25 #define EF 0400
26 #define NC 0401
27 
28 struct charac {
29 	char lob;
30 	char hib;
31 };
32 
33 union cio {
34 	struct charac chars;
35 	int integ;
36 };
37 
38 struct fpoint {
39 	struct node *fp;
40 	int flags;
41 } in [258];
42 
43 struct index {
44 	struct node *pt;
45 	struct index *next;
46 } dir [514], *head, *flist, *dirp, *dirq;
47 
48 union treep {
49 	struct node *p;
50 	int ch;
51 };
52 
53 struct node {
54 	struct fpoint fath;
55 	union treep sp [2];
56 	struct index *top [2];
57 	longint count [2];
58 } dict [258], *bottom;
59 
60 longint oc;
61 
62 FILE *cfp, *uncfp;
63 
64 struct stat status;
65