1 typedef struct _BCoptions { 2 unsigned char remove; 3 unsigned char standardout; 4 unsigned char compression; 5 unsigned char type; 6 uLong origsize; 7 unsigned char securedelete; 8 } BCoptions; 9 10 #define ENCRYPT 0 11 #define DECRYPT 1 12 13 #define endianBig ((unsigned char) 0x45) 14 #define endianLittle ((unsigned char) 0x54) 15 16 typedef unsigned int uInt32; 17 18 #ifdef WIN32 /* Win32 doesn't have random() or lstat */ 19 #define random() rand() 20 #define initstate(x,y,z) srand(x) 21 #define lstat(x,y) stat(x,y) 22 #endif 23 24 #ifndef S_ISREG 25 #define S_ISREG(x) ( ((x)&S_IFMT)==S_IFREG ) 26 #endif 27 28