Panda3D
panda
src
downloadertools
check_crc.cxx
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file check_crc.cxx
10
*/
11
12
#include "
download_utils.h
"
13
14
int
15
main(
int
argc,
char
*argv[]) {
16
if
(argc < 2) {
17
std::cerr <<
"Usage: check_crc <file>"
<< std::endl;
18
return
1;
19
}
20
21
Filename
source_file = argv[1];
22
23
std::cout << check_crc(source_file);
24
25
return
0;
26
}
download_utils.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Filename
The name of a file, such as a texture file or an Egg file.
Definition:
filename.h:39
Generated on Wed Jan 23 2019 21:39:56 for Panda3D by
1.8.15