Panda3D
config_downloader.h
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 config_downloader.h
10  * @author mike
11  * @date 2000-03-19
12  */
13 
14 #ifndef CONFIG_DOWNLOADER_H
15 #define CONFIG_DOWNLOADER_H
16 
17 #include "pandabase.h"
18 #include "notifyCategoryProxy.h"
19 #include "dconfig.h"
20 #include "configVariableInt.h"
21 #include "configVariableDouble.h"
22 #include "configVariableBool.h"
23 #include "configVariableString.h"
24 #include "configVariableFilename.h"
25 #include "configVariableList.h"
26 
27 ConfigureDecl(config_downloader, EXPCL_PANDA_DOWNLOADER, EXPTP_PANDA_DOWNLOADER);
28 NotifyCategoryDecl(downloader, EXPCL_PANDA_DOWNLOADER, EXPTP_PANDA_DOWNLOADER);
29 
30 extern ConfigVariableInt downloader_byte_rate;
31 extern ConfigVariableBool download_throttle;
32 extern ConfigVariableDouble downloader_frequency;
33 extern ConfigVariableInt downloader_timeout;
34 extern ConfigVariableInt downloader_timeout_retries;
35 
36 extern ConfigVariableDouble decompressor_step_time;
37 extern ConfigVariableDouble extractor_step_time;
38 extern ConfigVariableInt patcher_buffer_size;
39 
40 extern ConfigVariableBool http_proxy_tunnel;
41 extern ConfigVariableDouble http_connect_timeout;
42 extern ConfigVariableDouble http_timeout;
43 extern ConfigVariableInt http_skip_body_size;
44 extern ConfigVariableDouble http_idle_timeout;
45 extern ConfigVariableInt http_max_connect_count;
46 
47 extern EXPCL_PANDA_DOWNLOADER ConfigVariableInt tcp_header_size;
48 extern EXPCL_PANDA_DOWNLOADER ConfigVariableBool support_ipv6;
49 
50 extern EXPCL_PANDA_DOWNLOADER void init_libdownloader();
51 
52 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a floating- point type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_PANDA_DOWNLOADER void init_libdownloader()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.