Switch to unified view

a/src/utils/md5ut.h b/src/utils/md5ut.h
...
...
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _MD5UT_H_
17
#ifndef _MD5UT_H_
18
#define _MD5UT_H_
18
#define _MD5UT_H_
19
19
20
#include <sys/types.h>
21
22
#include "md5.h"
20
#include "md5.h"
23
21
24
/** md5 utility wrappers */
22
/** md5 utility: compute file md5 */
25
#include <string>
23
26
using std::string;
27
extern void MD5Final(string& digest, MD5_CTX *);
28
extern bool MD5File(const string& filename, string& digest, string *reason);
24
extern bool MD5File(const std::string& filename, std::string& digest,
29
extern string& MD5String(const string& data, string& digest);
25
                    std::string *reason);
30
extern string& MD5HexPrint(const string& digest, string& xdigest);
31
extern string& MD5HexScan(const string& xdigest, string& digest);
32
26
33
#endif /* _MD5UT_H_ */
27
#endif /* _MD5UT_H_ */