2 * This program is copyright Alec Muffett 1993. The author disclaims all
3 * responsibility or liability with respect to it's usage or its effect
4 * upon hardware or computer systems, and maintains copyright as set out
5 * in the "LICENCE" document which accompanies distributions of Crack v4.0
12 #define STRINGSIZE 1024
13 #define TRUNCSTRINGSIZE (STRINGSIZE/4)
15 typedef unsigned char int8;
16 typedef unsigned short int int16;
17 typedef unsigned long int int32;
22 #define MAXBLOCKLEN (MAXWORDLEN * NUMWORDS)
39 #define PFOR_WRITE 0x0001
40 #define PFOR_FLUSH 0x0002
41 #define PFOR_USEHWMS 0x0004
45 struct pi_header header;
48 char data[NUMWORDS][MAXWORDLEN];
51 #define PW_WORDS(x) ((x)->header.pih_numwords)
52 #define PIH_MAGIC 0x70775631
54 extern PWDICT *PWOpen();
55 extern char *Mangle();
56 extern char *FascistCheck();
58 #define CRACK_TOLOWER(a) (isupper(a)?tolower(a):(a))
59 #define CRACK_TOUPPER(a) (islower(a)?toupper(a):(a))
60 #define STRCMP(a,b) strcmp((a),(b))