]> mj.ucw.cz Git - libucw.git/blobdiff - lib/md5.h
First bits of the sorter infrastructure.
[libucw.git] / lib / md5.h
index 53a40c272069375f98a3e1ec0b5fe10a62d18763..be51a52525eeb6131a43c680fad0beb0b589e921 100644 (file)
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -1,11 +1,13 @@
-#ifndef MD5_H
-#define MD5_H
+/*
+ *     UCW Library -- MD5 Message Digest
+ *
+ *     This file is in public domain (see lib/md5.c).
+ */
 
 
-#ifdef __alpha
-typedef unsigned int uint32;
-#else
-typedef unsigned long uint32;
-#endif
+#ifndef _UCW_MD5_H
+#define _UCW_MD5_H
+
+typedef u32 uint32;
 
 struct MD5Context {
        uint32 buf[4];
 
 struct MD5Context {
        uint32 buf[4];
@@ -19,4 +21,4 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf,
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
 void MD5Transform(uint32 buf[4], uint32 const in[16]);
 
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
 void MD5Transform(uint32 buf[4], uint32 const in[16]);
 
-#endif /* !MD5_H */
+#endif /* !_UCW_MD5_H */