home *** CD-ROM | disk | FTP | other *** search
- /* >h.finfo */
-
- typedef struct {
- union {
- struct {
- int load;
- int exec; } addrs;
- struct {
- unsigned int time1 : 8;
- unsigned int type : 12;
- unsigned int fff : 12; /* must be 0xFFF */
- unsigned int time0; } misc;
- } misc;
- int length;
- union {
- int data;
- struct {
- unsigned int userread : 1;
- unsigned int userwrite : 1;
- unsigned int zog2 : 1;
- unsigned int locked : 1;
- unsigned int otherread : 1;
- unsigned int otherwrite : 1;
- unsigned int zog67 : 2;
- unsigned int FSdep : 24; } bits;
- } attributes;
- int type;
- int sysname;
- unsigned int time0;
- unsigned char time1;
- char name[227]; /* will not always be this long. */
- } fileinfo;
-
- int finfo(const char *name, fileinfo *fblock);
- void fnsplit(const char *name, char *dbuf, char *nbuf);
-