27 ProxyInfoSysconfig::ProxyInfoSysconfig(
const Pathname & path)
32 ?
"/etc/sysconfig" + path
34 std::map<std::string,std::string>::const_iterator it = data.find(
"PROXY_ENABLED");
37 it = data.find(
"HTTP_PROXY");
40 it = data.find(
"HTTPS_PROXY");
43 it = data.find(
"FTP_PROXY");
46 it = data.find(
"NO_PROXY");
53 std::map<std::string,std::string>::const_iterator it =
_proxies.find(url_r.
getScheme());
std::string getScheme() const
Returns the scheme name of the URL.
std::map< std::string, std::string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
unsigned split(const C_Str &line_r, TOutputIterator result_r, const C_Str &sepchars_r=" \, const Trim trim_r=NO_TRIM)
Split line_r into words.
bool relative() const
Test for a relative path.
Easy-to use interface to the ZYPP dependency resolver.