00001 // Filename: config_downloader.h 00002 // Created by: mike (19Mar00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef CONFIG_DOWNLOADER_H 00020 #define CONFIG_DOWNLOADER_H 00021 00022 #include "pandabase.h" 00023 #include "notifyCategoryProxy.h" 00024 #include "dconfig.h" 00025 00026 ConfigureDecl(config_downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS); 00027 NotifyCategoryDecl(downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS); 00028 00029 extern const int downloader_disk_write_frequency; 00030 extern const int downloader_byte_rate; 00031 extern const float downloader_frequency; 00032 extern const int downloader_timeout; 00033 extern const int downloader_timeout_retries; 00034 00035 extern const int decompressor_buffer_size; 00036 extern const float decompressor_frequency; 00037 00038 extern const int extractor_buffer_size; 00039 extern const float extractor_frequency; 00040 00041 extern const int patcher_buffer_size; 00042 00043 extern const bool early_random_seed; 00044 extern const bool verify_ssl; 00045 extern const string http_proxy; 00046 extern const string http_proxy_username; 00047 extern const double connect_timeout; 00048 extern const double http_timeout; 00049 extern const int http_max_connect_count; 00050 00051 // Later, we can make this conditional on NDEBUG or something along 00052 // those lines; for now, we define it always to be true so we get 00053 // error messages from OpenSSL wherever possible. 00054 #define REPORT_OPENSSL_ERRORS 1 00055 00056 #endif