Annotation of 42BSD/ucb/compact/compact.h, revision 1.1

1.1     ! root        1: /*     compact.h       4.4     83/06/03        */
        !             2: 
        !             3: #define VAX 11/780
        !             4: 
        !             5: 
        !             6: #if defined(vax) || defined(sun)
        !             7: typedef int longint;
        !             8: #else
        !             9: typedef long longint;
        !            10: #endif
        !            11: 
        !            12: #include <sys/param.h>
        !            13: #include <sys/stat.h>
        !            14: #include <sys/dir.h>
        !            15: #include <stdio.h>
        !            16: 
        !            17: #define LNAME (MAXPATHLEN+1)
        !            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: #if defined(vax) || defined(pdp11)
        !            30:        char lob, hib;
        !            31: #else
        !            32:        char hib, lob;
        !            33: #endif
        !            34: };
        !            35: 
        !            36: union cio {
        !            37:        struct charac chars;
        !            38:        short integ;
        !            39: };
        !            40: 
        !            41: struct fpoint {
        !            42:        struct node *fp;
        !            43:        int flags;
        !            44: } in [258];
        !            45: 
        !            46: struct index {
        !            47:        struct node *pt;
        !            48:        struct index *next;
        !            49: } dir [514], *head, *flist, *dirp, *dirq;
        !            50: 
        !            51: union treep {
        !            52:        struct node *p;
        !            53:        int ch;
        !            54: };
        !            55: 
        !            56: struct node {
        !            57:        struct fpoint fath;
        !            58:        union treep sp [2];
        !            59:        struct index *top [2];
        !            60:        longint count [2];
        !            61: } dict [258], *bottom;
        !            62: 
        !            63: longint oc;
        !            64: 
        !            65: FILE *cfp, *uncfp;
        !            66: 
        !            67: struct stat status;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.