|
|
1.1 ! root 1: typedef struct { ! 2: short count; ! 3: long bno; ! 4: } Bmap; ! 5: ! 6: typedef struct { ! 7: struct header h; /* this file's file header */ ! 8: Bmap lmap; /* last-used map info */ ! 9: long lbase; /* first block it maps */ ! 10: short lmi; /* index into map */ ! 11: unsigned short parent; /* .. for directories */ ! 12: char flags; ! 13: short tboff; /* last text byte offset */ ! 14: long tbno; /* last text block */ ! 15: long tuoff; /* corresponding unix offset */ ! 16: } Fsfile; ! 17: ! 18: #define fsp(f) ((Fsfile *)((f)->fs)) ! 19: ! 20: /* ! 21: * flags ! 22: */ ! 23: #define FBIN 01 /* non-text file */ ! 24: ! 25: long htoutime(); ! 26: int htouperm(); ! 27: long hfilesize(); ! 28: Bmap *getmap(), *getblk(); ! 29: int gethdr(); ! 30: ! 31: #define plong(l) (l[1]+(l[0]<<16)) /* pdp11 long */ ! 32: ! 33: extern int diskfd; ! 34: extern struct homeblock home; ! 35: extern Fsfile indexf; ! 36: extern unsigned short dirtyp;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.