1: /*	compact.h	4.6	84/08/25	*/
   2: 
   3: #if defined(vax) || defined(sun)
   4: typedef int longint;
   5: #else
   6: typedef long longint;
   7: #endif
   8: 
   9: #include <sys/param.h>
  10: #include <sys/stat.h>
  11: #include <sys/dir.h>
  12: #include <stdio.h>
  13: 
  14: #define COMPACTED 017777
  15: #define PACKED  017437
  16: 
  17: struct charac {
  18: #if defined(vax) || defined(pdp11)
  19:     char    lob, hib;
  20: #else
  21:     char    hib, lob;
  22: #endif
  23: };
  24: 
  25: union cio {
  26:     struct  charac chars;
  27:     short   integ;
  28: };
  29: 
  30: #define LLEAF   010
  31: #define RLEAF   04
  32: #define SEEN    02
  33: #define FBIT    01
  34: 
  35: #define EF  0400
  36: #define NC  0401
  37: 
  38: #define NF  (NC+1)
  39: 
  40: struct fpoint {
  41:     struct  node *fp;
  42:     int flags;
  43: } in[NF];
  44: 
  45: struct index {
  46:     struct  node *pt;
  47:     struct  index *next;
  48: } dir[2*NF], *head, *flist, *dirp, *dirq;
  49: 
  50: #define NEW flist; flist = flist->next
  51: 
  52: union treep {
  53:     struct  node *p;
  54:     int ch;
  55: };
  56: 
  57: struct node {
  58:     struct  fpoint fath;
  59:     struct son {
  60:         union   treep sp;
  61:         struct  index *top;
  62:         longint count;
  63:     } sons[2];
  64: #define LEFT    0
  65: #define RIGHT   1
  66: } dict[NF], *bottom;
  67: 
  68: FILE    *cfp;
  69: FILE    *uncfp;

Defined variables

bottom defined in line 66; used 30 times
dict defined in line 66; used 27 times
dir defined in line 48; used 4 times
dirp defined in line 48; used 16 times
dirq defined in line 48; used 11 times
flist defined in line 48; used 9 times
head defined in line 48; used 8 times
in defined in line 43; used 25 times

Defined struct's

charac defined in line 17; used 2 times
  • in line 26(2)
fpoint defined in line 40; used 2 times
  • in line 58(2)
index defined in line 45; used 8 times
node defined in line 57; used 15 times
son defined in line 59; used 4 times

Defined union's

cio defined in line 25; used 26 times
treep defined in line 52; used 6 times

Defined typedef's

longint defined in line 4; used 5 times

Defined macros

EF defined in line 35; used 8 times
FBIT defined in line 33; used 10 times
LEFT defined in line 64; used 19 times
NC defined in line 36; used 11 times
NF defined in line 38; used 3 times
PACKED defined in line 15; used 2 times
RIGHT defined in line 65; used 23 times
RLEAF defined in line 31; used 10 times
SEEN defined in line 32; used 9 times

Usage of this include

Last modified: 1984-08-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 3387
Valid CSS Valid XHTML 1.0 Strict