]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libcurl internal md5.h header file renamed to curl_md5.h
authorYang Tse <yangsita@gmail.com>
Sun, 17 Aug 2008 00:01:26 +0000 (00:01 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 17 Aug 2008 00:01:26 +0000 (00:01 +0000)
lib/Makefile.Watcom
lib/Makefile.inc
lib/curl_md5.h [moved from lib/md5.h with 91% similarity]
lib/http_digest.c
lib/md5.c

index 4a0b093be1f3c2f1e0fbf8b7dd99586584f71f83..5088875aeafa0236587fd596d7677d147aa62a40 100644 (file)
@@ -343,10 +343,10 @@ $(OBJ_DIR)\http_digest.obj: http_digest.c setup.h config-win32.h &
   ..\include\curl\curlrules.h ..\include\curl\easy.h &
   ..\include\curl\multi.h ..\include\curl\curl.h formdata.h timeval.h &
   http_chunks.h hostip.h hash.h llist.h splay.h sendf.h strequal.h &
-  base64.h md5.h http_digest.h strtok.h url.h memory.h easyif.h &
+  base64.h curl_md5.h http_digest.h strtok.h url.h memory.h easyif.h &
   ..\include\curl\mprintf.h memdebug.h
 $(OBJ_DIR)\md5.obj: md5.c setup.h config-win32.h ..\include\curl\curlbuild.h &
-  ..\include\curl\curlrules.h setup_once.h md5.h
+  ..\include\curl\curlrules.h setup_once.h curl_md5.h
 $(OBJ_DIR)\http_negotiate.obj: http_negotiate.c setup.h config-win32.h &
   ..\include\curl\curlbuild.h ..\include\curl\curlrules.h setup_once.h
 $(OBJ_DIR)\http_ntlm.obj: http_ntlm.c setup.h config-win32.h &
index 875e567548acaf82aad752c05d23c009dcf5ee6f..414e1d34232e4e88ad8c1ed029d7e7fca080de79 100644 (file)
@@ -15,8 +15,8 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h base64.h hostip.h   \
   progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h     \
   if2ip.h speedcheck.h urldata.h curl_ldap.h ssluse.h escape.h telnet.h        \
   getinfo.h strequal.h krb4.h memdebug.h inet_ntoa_r.h http_chunks.h   \
-  strtok.h connect.h llist.h hash.h content_encoding.h share.h md5.h   \
-  http_digest.h http_negotiate.h http_ntlm.h inet_pton.h               \
+  strtok.h connect.h llist.h hash.h content_encoding.h share.h         \
+  curl_md5.h http_digest.h http_negotiate.h http_ntlm.h inet_pton.h    \
   strtoofft.h strerror.h inet_ntop.h curlx.h memory.h setup.h          \
   transfer.h select.h easyif.h multiif.h parsedate.h sslgen.h gtls.h   \
   tftp.h sockaddr.h splay.h strdup.h setup_once.h socks.h ssh.h nssg.h \
similarity index 91%
rename from lib/md5.h
rename to lib/curl_md5.h
index 63cc70e840607ba9d7e370b082811532d3ff9e76..19c34fb4df86124fdb97904590070d50ba4243ed 100644 (file)
--- a/lib/md5.h
@@ -1,5 +1,5 @@
-#ifndef __MD5_H
-#define __MD5_H
+#ifndef __CURL_MD5_H
+#define __CURL_MD5_H
 /***************************************************************************
  *                                  _   _ ____  _     
  *  Project                     ___| | | |  _ \| |    
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___ 
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
index 14612c527e43a16438c2da28bf3a3c4df4b3b330..0132a84e387cda0d380e731fa2855b9d9ad650a4 100644 (file)
@@ -34,7 +34,7 @@
 #include "sendf.h"
 #include "strequal.h"
 #include "base64.h"
-#include "md5.h"
+#include "curl_md5.h"
 #include "http_digest.h"
 #include "strtok.h"
 #include "url.h" /* for Curl_safefree() */
index 92d4bff09483d1a4d29a4ace528fd08d0639aa6f..3d54f650d06569d94e1fc89d0a9c1d8951a12548 100644 (file)
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -338,7 +338,7 @@ static void Decode (UINT4 *output,
 #include <string.h>
 #endif
 
-#include "md5.h"
+#include "curl_md5.h"
 
 void Curl_md5it(unsigned char *outbuffer, /* 16 bytes */
                 const unsigned char *input)