cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
md5datafile.cpp
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #include "cddefines.h"
5 #include "thirdparty.h"
6 
7 int main(int argc, char** argv)
8 {
9  if( argc != 2 )
10  {
11  printf( "usage: %s <filename>\n", argv[0] );
12  return 1;
13  }
14  string md5sum = MD5datafile( argv[1] );
15  printf( "%s %s\n", md5sum.c_str(), argv[1] );
16  return 0;
17 }
string MD5datafile(const char *fnam, access_scheme scheme)
int main(int argc, char *argv[])
Definition: maincl.cpp:27