1/* 2 Copyright (c) 1990-2000 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 2000-Apr-09 or later 5 (the contents of which are also included in unzip.h) for terms of use. 6 If, for some reason, all these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html 8*/ 9#define _THS_IFMT 0xff00 /* type of file */ 10#define _THS_IFLIB 0x8000 /* library */ 11#define _THS_IFDIR 0x4000 /* directory */ 12#define _THS_IFCHR 0x2000 /* character device */ 13#define _THS_IFREG 0x1000 /* regular file */ 14#define _THS_IODRC 0x0800 /* direct */ 15#define _THS_IOKEY 0x0400 /* keyed */ 16#define _THS_IOIND 0x0200 /* indexed */ 17#define _THS_IOPRG 0x0100 /* program */ 18#define _THS_IO286 0x2100 /* program */ 19#define _THS_IO386 0x4100 /* program */ 20#define _THS_IREAD 0x0001 /* read permission */ 21#define _THS_IWRITE 0x0002 /* write permission */ 22#define _THS_IEXEC 0x0004 /* execute permission */ 23#define _THS_IERASE 0x0008 /* erase permission */ 24#define _THS_IRWXU 0x000f /* read, write, execute, erase: owner */ 25#define _THS_IRUSR 0x0001 /* read permission: owner */ 26#define _THS_IWUSR 0x0002 /* write permission: owner */ 27#define _THS_IXUSR 0x0004 /* execute permission: owner */ 28#define _THS_IEUSR 0x0008 /* erase permission: owner */ 29#define _THS_IROTH 0x0010 /* read permission: other */ 30#define _THS_IWOTH 0x0020 /* write permission: other */ 31#define _THS_IXOTH 0x0040 /* execute permission: other */ 32#define _THS_HIDDN 0x0080 /* hidden, 0 = true */ 33