Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
downloadertools
check_adler.cxx
1
// Filename: check_adler.cxx
2
// Created by:
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#include "download_utils.h"
16
#include "pystub.h"
17
18
int
19
main(
int
argc,
char
*argv[]) {
20
// A call to pystub() to force libpystub.so to be linked in.
21
pystub();
22
23
if
(argc < 2) {
24
cerr <<
"Usage: check_adler <file>"
<< endl;
25
return
1;
26
}
27
28
Filename
source_file = argv[1];
29
30
cout << check_adler(source_file);
31
32
return
0;
33
}
Filename
The name of a file, such as a texture file or an Egg file.
Definition:
filename.h:44
Generated on Mon Feb 1 2016 13:44:21 for Panda3D by
1.8.5