2004-07-13 13:54:09 +00:00
|
|
|
#include <cstdio>
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
#include "md5_file.h"
|
|
|
|
|
2002-10-14 21:10:31 +00:00
|
|
|
int main(int, char** argv) {
|
2002-04-30 22:22:54 +00:00
|
|
|
char out[33];
|
|
|
|
double nbytes;
|
|
|
|
|
|
|
|
md5_file(argv[1], out, nbytes);
|
|
|
|
printf("%s\n%f bytes\n", out, nbytes);
|
2002-10-14 21:10:31 +00:00
|
|
|
|
|
|
|
return 0;
|
2002-04-30 22:22:54 +00:00
|
|
|
}
|
2004-12-08 00:40:19 +00:00
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$";
|
|
|
|
#else
|
|
|
|
static volatile const char *BOINCrcsid="$Id$";
|
|
|
|
#endif
|