… | |
… | |
97 | #if ENABLE_HTTP_PROXY |
97 | #if ENABLE_HTTP_PROXY |
98 | char *proxy_auth; // login:password |
98 | char *proxy_auth; // login:password |
99 | char *proxy_host; // the proxy hostname, e.g. proxy1.example.net |
99 | char *proxy_host; // the proxy hostname, e.g. proxy1.example.net |
100 | u16 proxy_port; // the proxy port, e.g. 3128 |
100 | u16 proxy_port; // the proxy port, e.g. 3128 |
101 | #endif |
101 | #endif |
102 | #if ENABLE_DNS |
102 | |
103 | char *dns_forw_host; |
103 | char *dns_forw_host; |
104 | u16 dns_forw_port; |
104 | u16 dns_forw_port; |
105 | #endif |
|
|
106 | |
105 | |
107 | void init (); |
106 | void init (); |
108 | void cleanup (); |
107 | void cleanup (); |
109 | void read_config (bool need_keys); |
108 | void read_config (bool need_keys); |
110 | void clear_config (); |
109 | void clear_config (); |