12#ifndef ZYPP_CURL_PROXYINFO_PROXYINFOIMPL_H_INCLUDED
13#define ZYPP_CURL_PROXYINFO_PROXYINFOIMPL_H_INCLUDED
20#include <zypp-curl/ProxyInfo>
64 std::string pattern(
str::toLower( (*
it)[0] ==
'.' ?
it->c_str() + 1 :
it->c_str() ) );
66 && ( host.size() == pattern.size()
67 || host[host.size()-pattern.size()-1] ==
'.' ) )
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
bool hasSuffix(const C_Str &str_r, const C_Str &suffix_r)
Return whether str_r has suffix suffix_r.
std::string toLower(const std::string &s)
Return lowercase version of s.
Easy-to use interface to the ZYPP dependency resolver.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.