00001 // Filename: download_utils.h 00002 // Created by: mike (18Jan99) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef DOWNLOAD_UTILS_H 00016 #define DOWNLOAD_UTILS_H 00017 00018 #include "pandabase.h" 00019 #include "filename.h" 00020 00021 #ifdef HAVE_ZLIB 00022 00023 BEGIN_PUBLISH 00024 00025 EXPCL_PANDAEXPRESS unsigned long check_crc(Filename name); 00026 EXPCL_PANDAEXPRESS unsigned long check_adler(Filename name); 00027 00028 END_PUBLISH 00029 00030 #endif // HAVE_ZLIB 00031 00032 #endif 00033