7 void usage(char **argv)
9 printf("%s file str\n%s str string\n",argv[0],argv[0]);
13 /* make main to compile (after the make md5)
14 * Example of the md5 API use
15 * Daniel B. Cid, dcid@ossec.net
17 int main(int argc, char ** argv)
25 if(strcmp(argv[1],"file") == 0)
27 OS_MD5_File(argv[2], filesum);
30 else if(strcmp(argv[1],"str") == 0)
32 OS_MD5_Str(argv[2], filesum);
38 printf("MD5Sum for \"%s\" is: %s\n",argv[2],filesum);