... | ... |
@@ -3,6 +3,8 @@ |
3 | 3 |
#ifndef _CRC_H_ |
4 | 4 |
#define _CRC_H_ |
5 | 5 |
|
6 |
+#include "str.h" |
|
7 |
+ |
|
6 | 8 |
#define CRC16_LEN 4 |
7 | 9 |
|
8 | 10 |
extern unsigned long int crc_32_tab[]; |
... | ... |
@@ -12,5 +14,5 @@ extern unsigned short int crc_16_tab[]; |
12 | 14 |
unsigned short crcitt_string( char *s, int len ); |
13 | 15 |
void crcitt_string_array( char *dst, str src[], int size ); |
14 | 16 |
|
15 |
-#endif |
|
17 |
+#endif /* _CRC_H_ */ |
|
16 | 18 |
|
... | ... |
@@ -25,6 +25,11 @@ These notices must be retained in any copies of any part of this |
25 | 25 |
documentation and/or software. |
26 | 26 |
*/ |
27 | 27 |
|
28 |
+#ifndef MD5_H |
|
29 |
+#define MD5_H |
|
30 |
+ |
|
31 |
+#include "md5global.h" |
|
32 |
+ |
|
28 | 33 |
/* MD5 context. */ |
29 | 34 |
typedef struct { |
30 | 35 |
UINT4 state[4]; /* state (ABCD) */ |
... | ... |
@@ -37,3 +42,4 @@ void MD5Update PROTO_LIST |
37 | 42 |
((MD5_CTX *, unsigned char *, unsigned int)); |
38 | 43 |
void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); |
39 | 44 |
|
45 |
+#endif /* MD5_H */ |
... | ... |
@@ -8,6 +8,10 @@ |
8 | 8 |
The following makes PROTOTYPES default to 0 if it has not already |
9 | 9 |
been defined with C compiler flags. |
10 | 10 |
*/ |
11 |
+#ifndef MD5GLOBAL_H |
|
12 |
+#define MD5GLOBAL_H |
|
13 |
+ |
|
14 |
+ |
|
11 | 15 |
#ifndef PROTOTYPES |
12 | 16 |
#define PROTOTYPES 0 |
13 | 17 |
#endif |
... | ... |
@@ -31,3 +35,4 @@ If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it |
31 | 35 |
#define PROTO_LIST(list) () |
32 | 36 |
#endif |
33 | 37 |
|
38 |
+#endif /* MD5GLOBAL_H */ |