libzypp
17.37.17
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
c
d
g
h
i
l
m
n
o
p
r
s
t
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
l
m
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
v
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Symbols
a
b
c
d
e
h
i
l
m
n
o
p
r
s
t
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
z
Functions
Variables
Typedefs
Macros
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
w
x
y
z
libzypp
Welcome to libzypp
[Dropped in Code 15] Code 12 Application Metadata
Code Pitfalls - Frequently made mistakes
Environment Variables
Testing for provided features.
Hardware (modalias) dependencies
Code 12 Pattern Packages
Extending ZYpp: Plugins and Hooks
Repository Variables
Services
Solver - Vendor protection
Writing and tunning testcases
Libzypp and threads
User data as transaction id
Todo List
Deprecated List
Topics
Namespaces
Classes
Files
File List
doc
zypp
zypp-core
zypp-curl
auth
ng
parser
private
proxyinfo
curlconfig.cc
curlconfig.h
curlhelper.cc
proxyinfo.cc
proxyinfo.h
transfersettings.cc
transfersettings.h
zypp-media
zypp-tui
File Members
proxyinfo.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_CURL_PROXYINFO_H_INCLUDED
13
#define ZYPP_CURL_PROXYINFO_H_INCLUDED
14
15
#include <string>
16
#include <list>
17
18
#include <
zypp-core/base/PtrTypes.h
>
19
20
namespace
zypp
{
21
22
class
Url
;
23
24
namespace
media
{
25
27
//
28
// CLASS NAME : ProxyInfo
29
class
ProxyInfo
30
{
31
public
:
32
using
Ptr
=
intrusive_ptr<ProxyInfo>
;
33
using
constPtr
=
intrusive_ptr<ProxyInfo>
;
34
using
NoProxyList
= std::list<std::string>;
35
using
NoProxyIterator
= std::list<std::string>::const_iterator;
36
38
struct
Impl
;
39
using
ImplPtr
=
shared_ptr<Impl>
;
40
42
ProxyInfo
();
44
ProxyInfo
(
ProxyInfo::ImplPtr
pimpl_r );
45
46
bool
enabled
()
const
;
47
std::string
proxy
(
const
Url
&
url
)
const
;
48
NoProxyList
noProxy
()
const
;
49
NoProxyIterator
noProxyBegin
()
const
;
50
NoProxyIterator
noProxyEnd
()
const
;
51
53
bool
useProxyFor
(
const
Url
& url_r )
const
;
54
55
private
:
57
RW_pointer<Impl>
_pimpl
;
58
};
29
class
ProxyInfo
{
…
};
59
60
62
63
}
// namespace media
64
}
// namespace zypp
65
66
#endif
// ZYPP_CURL_PROXYINFO_H_INCLUDED
intrusive_ptr
shared_ptr
zypp::Url
Url manipulation class.
Definition
Url.h:93
zypp::media::ProxyInfo::noProxy
NoProxyList noProxy() const
Definition
proxyinfo.cc:47
zypp::media::ProxyInfo::useProxyFor
bool useProxyFor(const Url &url_r) const
Return true if enabled and url_r does not match noProxy.
Definition
proxyinfo.cc:56
zypp::media::ProxyInfo::proxy
std::string proxy(const Url &url) const
Definition
proxyinfo.cc:44
zypp::media::ProxyInfo::NoProxyList
std::list< std::string > NoProxyList
Definition
proxyinfo.h:34
zypp::media::ProxyInfo::Ptr
intrusive_ptr< ProxyInfo > Ptr
Definition
proxyinfo.h:32
zypp::media::ProxyInfo::_pimpl
RW_pointer< Impl > _pimpl
Pointer to implementation.
Definition
proxyinfo.h:57
zypp::media::ProxyInfo::noProxyEnd
NoProxyIterator noProxyEnd() const
Definition
proxyinfo.cc:53
zypp::media::ProxyInfo::NoProxyIterator
std::list< std::string >::const_iterator NoProxyIterator
Definition
proxyinfo.h:35
zypp::media::ProxyInfo::ProxyInfo
ProxyInfo()
Default Ctor: guess the best available implementation.
Definition
proxyinfo.cc:29
zypp::media::ProxyInfo::ImplPtr
shared_ptr< Impl > ImplPtr
Definition
proxyinfo.h:39
zypp::media::ProxyInfo::enabled
bool enabled() const
Definition
proxyinfo.cc:41
zypp::media::ProxyInfo::constPtr
intrusive_ptr< ProxyInfo > constPtr
Definition
proxyinfo.h:33
zypp::media::ProxyInfo::noProxyBegin
NoProxyIterator noProxyBegin() const
Definition
proxyinfo.cc:50
zypp::media
Definition
MediaNetworkRequestExecutor.h:22
zypp::url
Url details namespace.
Definition
UrlBase.cc:58
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition
CodePitfalls.doc:2
zypp::RW_pointer
Wrapper for const correct access via Smart pointer types.
Definition
PtrTypes.h:293
zypp::media::ProxyInfo::Impl
Definition
proxyinfoimpl.h:26
PtrTypes.h
zypp-curl
proxyinfo.h
Generated by
1.14.0