Switch to unified view
a/src/rcldb/pathhash.cpp | b/src/rcldb/pathhash.cpp | ||
---|---|---|---|
1 | #ifndef lint |
1 | #ifndef lint |
2 | static char rcsid[] = "@(#$Id: pathhash.cpp,v 1.1 2005-11-06 11:16:52 dockes Exp $ (C) 2005 J.F.Dockes"; |
2 | static char rcsid[] = "@(#$Id: pathhash.cpp,v 1.2 2005-11-24 07:16:15 dockes Exp $ (C) 2005 J.F.Dockes"; |
3 | #endif |
3 | #endif |
4 | 4 | ||
5 | #include <stdio.h> |
5 | #include <stdio.h> |
6 | 6 | ||
7 | #include "pathhash.h" |
7 | #include "pathhash.h" |
8 | #include "md5.h" |
8 | #include "md5.h" |
9 | #include "base64.h" |
9 | #include "base64.h" |
10 | 10 | ||
11 | #ifndef NO_NAMESPACES |
||
11 | using std::string; |
12 | using std::string; |
13 | #endif /* NO_NAMESPACES */ |
||
12 | 14 | ||
13 | #ifdef PATHHASH_HEX |
15 | #ifdef PATHHASH_HEX |
14 | static void md5hexprint(const unsigned char hash[16], string &out) |
16 | static void md5hexprint(const unsigned char hash[16], string &out) |
15 | { |
17 | { |
16 | out.erase(); |
18 | out.erase(); |