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)
16 typedef unsigned char int8;
17 typedef unsigned short int int16;
18 typedef unsigned long int int32;
25 #define MAXBLOCKLEN (MAXWORDLEN * NUMWORDS)
42 #define PFOR_WRITE 0x0001
43 #define PFOR_FLUSH 0x0002
44 #define PFOR_USEHWMS 0x0004
48 struct pi_header header;
51 char data[NUMWORDS][MAXWORDLEN];
54 #define PW_WORDS(x) ((x)->header.pih_numwords)
55 #define PIH_MAGIC 0x70775631
57 extern PWDICT *PWOpen();
58 extern char *Mangle();
59 extern char *FascistCheck();
61 #define CRACK_TOLOWER(a) (isupper(a)?tolower(a):(a))
62 #define CRACK_TOUPPER(a) (islower(a)?toupper(a):(a))
63 #define STRCMP(a,b) strcmp((a),(b))