23 using namespace zypp::base;
28 ProxyInfoSysconfig::ProxyInfoSysconfig(
const Pathname & path)
33 ?
"/etc/sysconfig" + path
35 map<string,string>::const_iterator it = data.find(
"PROXY_ENABLED");
38 it = data.find(
"HTTP_PROXY");
41 it = data.find(
"HTTPS_PROXY");
44 it = data.find(
"FTP_PROXY");
47 it = data.find(
"NO_PROXY");
unsigned split(const C_Str &line_r, _OutputIterator result_r, const C_Str &sepchars_r=" \t")
Split line_r into words.
map< string, string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
std::string getScheme() const
Returns the scheme name of the URL.