Annotation of researchv9/cmd/strip/hash.h, revision 1.1

1.1     ! root        1: #include "malloc.h"
        !             2: 
        !             3: #define HASHSIZE       1013
        !             4: #define MAXHUSE                ((3*HASHSIZE)/4)
        !             5: #define STRTABSIZE     4096
        !             6: 
        !             7: struct ht {
        !             8:        struct ht *next;
        !             9:        int nused;
        !            10:        char *ptable[HASHSIZE];
        !            11: };
        !            12: 
        !            13: struct st {
        !            14:        struct st *next;
        !            15:        int nused;
        !            16:        char strtab[STRTABSIZE];
        !            17: };
        !            18: 
        !            19: char *hash();
        !            20: 
        !            21: struct ht *hroot; struct st *sroot;
        !            22: 
        !            23: int stcount;

unix.superglobalmegacorp.com

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