1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #ifndef BOINC_PROXY_INFO_H
- #define BOINC_PROXY_INFO_H
- struct XML_PARSER;
- class MIOFILE;
- struct PROXY_INFO {
- bool present;
-
-
-
- bool use_http_proxy;
- bool use_http_auth;
- char http_server_name[256];
- int http_server_port;
- char http_user_name[256];
- char http_user_passwd[256];
-
-
-
- bool use_socks_proxy;
- char socks_server_name[256];
- int socks_server_port;
- char socks5_user_name[256];
- char socks5_user_passwd[256];
- bool socks5_remote_dns;
-
-
-
-
- char noproxy_hosts[256];
-
-
- bool no_autodetect;
-
-
-
-
- bool autodetect_proxy_supported;
-
-
- int autodetect_protocol;
-
- char autodetect_server_name[256];
- int autodetect_port;
- bool need_autodetect_proxy_settings;
-
-
- bool have_autodetect_proxy_settings;
-
- PROXY_INFO() {
- clear();
- }
- int parse(XML_PARSER&);
- int parse_config(XML_PARSER&);
- int write(MIOFILE&);
- void clear();
- };
- #endif
|