libzypp 17.32.2
zyppng Namespace Reference

Namespaces

namespace  AcceptFailedVerificationRequest
 Ask the user to accept a file that is signed but where the signature verification failed.
 
namespace  AcceptKeyRequest
 
namespace  AcceptNoDigestRequest
 
namespace  AcceptPackageKeyRequest
 Ask user to trust and/or import the package key to trusted keyring.
 
namespace  AcceptUnknownDigestRequest
 
namespace  AcceptUnknownKeyRequest
 Ask the user to accept a unknown key.
 
namespace  AcceptUnsignedFileRequest
 
namespace  AcceptWrongDigestRequest
 
namespace  AttachFinishedMsgFields
 
namespace  AttachMsgFields
 
namespace  AuthDataRequestMsgFields
 
namespace  AuthInfoMsgFields
 
namespace  CheckSumWorkflow
 
namespace  constants
 
namespace  DetachMsgFields
 
namespace  detail
 
namespace  DownloadWorkflow
 
namespace  EjectMsgFields
 
namespace  ErrMsgFields
 
namespace  KeyAutoImportInfoEvent
 Notify that a repository auto imported new package signing keys.
 
namespace  KeyRingWorkflow
 
namespace  MediaChangeRequestMsgFields
 
namespace  MetalinkRedirectMsgFields
 
namespace  NonImportedKeysInfoEvent
 Notify the user about keys that were not imported from the rpm key database into zypp keyring.
 
namespace  PlaindirWorkflows
 
namespace  ProvideFinishedMsgFields
 
namespace  ProvideMsgFields
 
namespace  ProvideStartedMsgFields
 
namespace  RedirectMsgFields
 
namespace  repo
 
namespace  RepoDownloaderWorkflow
 
namespace  RepoInfoWorkflow
 
namespace  RepoManagerWorkflow
 
namespace  RpmmdWorkflows
 Downloader workspace for YUM (rpm-nmd) repositories Encapsulates all the knowledge of which files have to be downloaded to the local disk.
 
namespace  SignatureFileCheckWorkflow
 
namespace  SuseTagsWorkflows
 Download workflow namespace for SUSETags (YaST2) repositories Encapsulates all the knowledge of which files have to be downloaded to the local disk and how to calculate the repo status.
 
namespace  VerifyInfoEvent
 
namespace  worker
 

Classes

class  AttachedMediaInfo
 
class  AttachedSyncMediaInfo
 
class  AttachMediaItem
 
struct  BasicDownloaderStateBase
 
class  CacheProviderContext
 
class  Context
 
class  ContextPrivate
 
class  CurlMultiPartDataReceiver
 
class  CurlMultiPartHandler
 The CurlMultiPartHandler class. More...
 
struct  DetectMetalinkState
 
struct  DlMetaLinkInfoState
 
struct  DlMetalinkState
 
struct  DlNormalFileState
 
class  Download
 
class  Downloader
 The Downloader class. More...
 
class  DownloaderPrivate
 
class  DownloadPrivate
 
class  DownloadPrivateBase
 
class  DownloadSpec
 
class  DownloadSpecPrivate
 
struct  FinishedState
 
class  HeaderValue
 
class  HeaderValueMap
 
struct  InitialState
 
struct  LogicBase
 
struct  LogicHelper
 
class  MediaDataVerifier
 
class  MediaSyncFacade
 
class  MirrorControl
 
struct  MirrorHandlingStateBase
 
class  NetworkRequest
 
class  NetworkRequestDispatcherPrivate
 
class  NetworkRequestError
 The NetworkRequestError class Represents a error that occured in. More...
 
class  NetworkRequestErrorPrivate
 
class  NetworkRequestPrivate
 
struct  PrepareMultiState
 
class  Provide
 
class  ProvideFileItem
 
class  ProvideFileSpec
 
class  ProvideItem
 
class  ProvideItemPrivate
 
class  ProvideMediaHandle
 
class  ProvideMediaSpec
 
class  ProvideMessage
 
class  ProvidePrivate
 
class  ProvidePromise
 
class  ProvideQueue
 
class  ProviderConfiguration
 
class  ProvideRequest
 
class  ProvideRes
 A ProvideRes object is a reference counted ownership of a resource in the cache provided by a Provide instance. More...
 
struct  ProvideResourceData
 
class  ProvideSpecBasePrivate
 
class  ProvideStatus
 
struct  RangeDownloaderBaseState
 
class  RepoManagerPrivate
 
struct  SimpleExecutor
 
class  SuseMediaDataVerifier
 
class  SyncContext
 
class  SyncMediaHandle
 
struct  SyncOp
 
class  TrustKeyRequest
 
class  WorkerCaps
 

Typedefs

using KeyRing = zypp::KeyRing
 
using KeyRingRef = zypp::KeyRing_Ptr
 
template<typename OpType >
using MaybeAsyncContextRef = std::conditional_t<detail::is_async_op_v<OpType>, ContextRef, SyncContextRef>
 
using AsyncCacheProviderContext = CacheProviderContext<ContextRef>
 
using SyncCacheProviderContext = CacheProviderContext<SyncContextRef>
 
using SyncProvideRes = MediaSyncFacade::Res
 
using RpcMessageStreamPtr = std::shared_ptr<RpcMessageStream>
 
template<typename T >
using ProvidePromiseRef = std::shared_ptr<ProvidePromise<T>>
 
template<typename T >
using ProvidePromiseWeakRef = std::weak_ptr<ProvidePromise<T>>
 
using AnyMap = std::unordered_map<std::string, boost::any>
 
using AuthData = zypp::media::AuthData
 
using AuthData_Ptr = zypp::media::AuthData_Ptr
 
using NetworkAuthData = zypp::media::CurlAuthData
 
using NetworkAuthData_Ptr = zypp::media::CurlAuthData_Ptr
 
using TransferSettings = zypp::media::TransferSettings
 
template<typename Derived >
using DownloadStatemachine
 our known states: InitialState //< initial state before we start downloading DetectMetalinkState //< First attempt to get the zchunk header, but we might receive metalink data instead DlMetaLinkInfoState //< We got Metalink, lets get the full metalink file or we got no zchunk in the first place PrepareMultiState //< Parsing the metalink file and preparing the mirrors DLZckHeadState //< Download the ZChunk Header DLZckState //< Download the File in ZChunk Mode DlMetalinkState //< Download the File in Metalink Mode DlNormalFileState //< Simple Plain download, no chunking FinishedState //< We are done
 
using MetaDataType = zypp::media::MetaDataType
 

Enumerations

enum  MessageCodes : uint32_t {
  NoCode = 0 , FirstInformalCode = 100 , ProvideStarted = 100 , LastInformalCode = 199 ,
  FirstSuccessCode = 200 , ProvideFinished = 200 , AttachFinished = 201 , AuthInfo = 202 ,
  MediaChanged = 203 , DetachFinished = 204 , LastSuccessCode = 299 , FirstRedirCode = 300 ,
  Redirect = 300 , Metalink = 301 , LastRedirCode = 399 , FirstClientErrCode = 400 ,
  BadRequest = 400 , Unauthorized = 401 , Forbidden = 402 , PeerCertificateInvalid = 403 ,
  NotFound = 404 , ExpectedSizeExceeded = 405 , ConnectionFailed = 406 , Timeout = 407 ,
  Cancelled = 408 , InvalidChecksum = 409 , MountFailed = 410 , Jammed = 411 ,
  MediaChangeAbort = 412 , MediaChangeSkip = 413 , NoAuthData = 414 , NotAFile = 415 ,
  MediumNotDesired = 416 , LastClientErrCode = 499 , FirstSrvErrCode = 500 , InternalError = 500 ,
  ProtocolError = 501 , LastSrvErrCode = 599 , FirstControllerCode = 600 , Prov = 600 ,
  Cancel = 601 , Attach = 602 , Detach = 603 , LastControllerCode = 699 ,
  FirstWorkerCode = 700 , AuthDataRequest = 700 , MediaChangeRequest = 701 , LastWorkerCode = 799
}
 

Functions

 ZYPP_IMPL_PRIVATE_CONSTR (Context)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (Context)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProgressObserver)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (Provide)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (RepoManager)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (EventDispatcher)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (SyncContext)
 
 ZYPP_IMPL_PRIVATE_CONSTR_ARGS (TrustKeyRequest, std::string label, KeyTrust trust, UserData userData)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (TrustKeyRequest)
 
 ZYPP_IMPL_PRIVATE_CONSTR (SyncContext)
 
 ZYPP_FWD_DECL_REFS (AsyncCacheProviderContext)
 
 ZYPP_FWD_DECL_REFS (SyncCacheProviderContext)
 
 IMPL_PTR_TYPE (AttachedSyncMediaInfo)
 
 ZYPP_IMPL_PRIVATE_CONSTR (MediaSyncFacade)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (MediaSyncFacade)
 
 DEFINE_PTR_TYPE (AttachedSyncMediaInfo)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (SuseMediaDataVerifier)
 
std::ostream & operator<< (std::ostream &str, const MediaDataVerifierRef &obj)
 
 DEFINE_PTR_TYPE (AttachedMediaInfo)
 
bool provideDebugEnabled ()
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideQueue)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideWorker)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideFileItem)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (AttachMediaItem)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (DetachMediaItem)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideRequest)
 
constexpr std::string_view AGENT_STRING_CONF ("zconfig://media/UserAgent")
 
constexpr std::string_view DISTRO_FLAV_CONF ("zconfig://media/DistributionFlavor")
 
constexpr std::string_view ANON_ID_CONF ("zconfig://media/AnonymousId")
 
constexpr std::string_view ATTACH_POINT ("zconfig://media/AttachPoint")
 
constexpr std::string_view PROVIDER_ROOT ("zconfig://media/ProviderRoot")
 
constexpr std::string_view NETWORK_METALINK_ENABLED ("zypp-nw-metalink-enabled")
 
constexpr std::string_view HANDLER_SPECIFIC_DEVICES ("zypp-req-specific-devices")
 
 ZYPP_IMPL_PRIVATE (Provide)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideMediaSpec)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideFileSpec)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideItem)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (MediaDataVerifier)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideStatus)
 
static constexpr std::string_view DEFAULT_MEDIA_VERIFIER ("SuseMediaV1")
 
 ZYPP_IMPL_PRIVATE (ProvideItem)
 
static ProvideMessage::FieldVal fieldValFromProto (const zypp::proto::DataField &field)
 
static void fieldValToProto (const ProvideMessage::FieldVal &val, zypp::proto::DataField &field)
 
static expected< void > validateMessage (const ProvideMessage &msg)
 
std::ostream & operator<< (std::ostream &str, const ProvideFileSpec &obj)
 
std::ostream & dumpOn (std::ostream &str, const ProvideFileSpec &obj)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (Downloader)
 
 ZYPP_FWD_DECL_TYPE_WITH_REFS (Download)
 
static const std::string & defaultAgentString ()
 
 ZYPP_IMPL_PRIVATE (NetworkRequestError)
 

Variables

constexpr uint penaltyIncrease = 100
 
constexpr uint defaultSampleTime = 2
 
constexpr uint defaultMaxConnections = 5
 
constexpr std::string_view CurlNativeErrorCodeDescKey = "nativeErrorCodeDesc"
 
constexpr std::string_view CurlNativeErrorDescKey = "nativeErrorDesc"
 

Detailed Description

@TODO Fix bsc#1174011 "auth=basic ignored in some cases" for provider We should proactively add the password to the request if basic auth is configured and a password is available in the credentials but not in the URL.

We should be a bit paranoid here and require that the URL has a user embedded, otherwise we go the default route and ask the server first about the auth method

@TODO Make sure URLs are rewritten, e.g. MediaSetAccess::rewriteUrl

Typedef Documentation

◆ KeyRing

Definition at line 28 of file context.h.

◆ KeyRingRef

typedef zypp::KeyRing_Ptr zyppng::KeyRingRef = zypp::KeyRing_Ptr

Definition at line 29 of file context.h.

◆ MaybeAsyncContextRef

template<typename OpType >
using zyppng::MaybeAsyncContextRef = std::conditional_t<detail::is_async_op_v<OpType>, ContextRef, SyncContextRef>

Definition at line 45 of file contextfacade.h.

◆ AsyncCacheProviderContext

Definition at line 52 of file downloadwf.h.

◆ SyncCacheProviderContext

Definition at line 53 of file downloadwf.h.

◆ SyncProvideRes

Definition at line 116 of file mediafacade.h.

◆ RpcMessageStreamPtr

typedef std::shared_ptr< RpcMessageStream > zyppng::RpcMessageStreamPtr = std::shared_ptr<RpcMessageStream>

Definition at line 42 of file provide_p.h.

◆ ProvidePromiseRef

template<typename T >
using zyppng::ProvidePromiseRef = std::shared_ptr<ProvidePromise<T>>

Definition at line 31 of file providefwd_p.h.

◆ ProvidePromiseWeakRef

template<typename T >
using zyppng::ProvidePromiseWeakRef = std::weak_ptr<ProvidePromise<T>>

Definition at line 33 of file providefwd_p.h.

◆ AnyMap

using zyppng::AnyMap = std::unordered_map<std::string, boost::any>

Definition at line 44 of file provide.h.

◆ AuthData

◆ AuthData_Ptr

Definition at line 22 of file authdata.h.

◆ NetworkAuthData

Definition at line 24 of file authdata.h.

◆ NetworkAuthData_Ptr

◆ TransferSettings

◆ DownloadStatemachine

template<typename Derived >
using zyppng::DownloadStatemachine

our known states: InitialState //< initial state before we start downloading DetectMetalinkState //< First attempt to get the zchunk header, but we might receive metalink data instead DlMetaLinkInfoState //< We got Metalink, lets get the full metalink file or we got no zchunk in the first place PrepareMultiState //< Parsing the metalink file and preparing the mirrors DLZckHeadState //< Download the ZChunk Header DLZckState //< Download the File in ZChunk Mode DlMetalinkState //< Download the File in Metalink Mode DlNormalFileState //< Simple Plain download, no chunking FinishedState //< We are done

Definition at line 47 of file downloader_p.h.

◆ MetaDataType

Enumeration Type Documentation

◆ MessageCodes

enum zyppng::MessageCodes : uint32_t
Enumerator
NoCode 
FirstInformalCode 
ProvideStarted 
LastInformalCode 
FirstSuccessCode 
ProvideFinished 
AttachFinished 
AuthInfo 
MediaChanged 
DetachFinished 
LastSuccessCode 
FirstRedirCode 
Redirect 
Metalink 
LastRedirCode 
FirstClientErrCode 
BadRequest 
Unauthorized 
Forbidden 
PeerCertificateInvalid 
NotFound 
ExpectedSizeExceeded 
ConnectionFailed 
Timeout 
Cancelled 
InvalidChecksum 
MountFailed 
Jammed 
MediaChangeAbort 
MediaChangeSkip 
NoAuthData 
NotAFile 
MediumNotDesired 
LastClientErrCode 
FirstSrvErrCode 
InternalError 
ProtocolError 
LastSrvErrCode 
FirstControllerCode 
Prov 
Cancel 
Attach 
Detach 
LastControllerCode 
FirstWorkerCode 
AuthDataRequest 
MediaChangeRequest 
LastWorkerCode 

Definition at line 316 of file providemessage_p.h.

Function Documentation

◆ ZYPP_IMPL_PRIVATE_CONSTR() [1/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR ( Context )

Definition at line 19 of file context.cc.

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [1/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( Context )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [2/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProgressObserver )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [3/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( Provide )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [4/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( RepoManager )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [5/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( EventDispatcher )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [6/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( SyncContext )

◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS()

zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS ( TrustKeyRequest ,
std::string label,
KeyTrust trust,
UserData userData )

Definition at line 34 of file userrequest.cc.

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [7/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( TrustKeyRequest )

◆ ZYPP_IMPL_PRIVATE_CONSTR() [2/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR ( SyncContext )

Definition at line 14 of file contextfacade.cc.

◆ ZYPP_FWD_DECL_REFS() [1/2]

zyppng::ZYPP_FWD_DECL_REFS ( AsyncCacheProviderContext )

◆ ZYPP_FWD_DECL_REFS() [2/2]

zyppng::ZYPP_FWD_DECL_REFS ( SyncCacheProviderContext )

◆ IMPL_PTR_TYPE()

zyppng::IMPL_PTR_TYPE ( AttachedSyncMediaInfo )

◆ ZYPP_IMPL_PRIVATE_CONSTR() [3/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR ( MediaSyncFacade )

Definition at line 149 of file mediafacade.cc.

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [8/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( MediaSyncFacade )

◆ DEFINE_PTR_TYPE() [1/2]

zyppng::DEFINE_PTR_TYPE ( AttachedSyncMediaInfo )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [9/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( SuseMediaDataVerifier )

◆ operator<<() [1/2]

std::ostream & zyppng::operator<< ( std::ostream & str,
const MediaDataVerifierRef & obj )

Definition at line 130 of file mediaverifier.cc.

◆ DEFINE_PTR_TYPE() [2/2]

zyppng::DEFINE_PTR_TYPE ( AttachedMediaInfo )

◆ provideDebugEnabled()

bool zyppng::provideDebugEnabled ( )
inline

Definition at line 28 of file providedbg_p.h.

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [10/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideQueue )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [11/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideWorker )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [12/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideFileItem )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [13/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( AttachMediaItem )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [14/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( DetachMediaItem )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [15/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideRequest )

◆ AGENT_STRING_CONF()

constexpr std::string_view zyppng::AGENT_STRING_CONF ( "zconfig://media/UserAgent" )
constexpr

◆ DISTRO_FLAV_CONF()

constexpr std::string_view zyppng::DISTRO_FLAV_CONF ( "zconfig://media/DistributionFlavor" )
constexpr

◆ ANON_ID_CONF()

constexpr std::string_view zyppng::ANON_ID_CONF ( "zconfig://media/AnonymousId" )
constexpr

◆ ATTACH_POINT()

constexpr std::string_view zyppng::ATTACH_POINT ( "zconfig://media/AttachPoint" )
constexpr

◆ PROVIDER_ROOT()

constexpr std::string_view zyppng::PROVIDER_ROOT ( "zconfig://media/ProviderRoot" )
constexpr

◆ NETWORK_METALINK_ENABLED()

constexpr std::string_view zyppng::NETWORK_METALINK_ENABLED ( "zypp-nw-metalink-enabled" )
constexpr

◆ HANDLER_SPECIFIC_DEVICES()

constexpr std::string_view zyppng::HANDLER_SPECIFIC_DEVICES ( "zypp-req-specific-devices" )
constexpr

◆ ZYPP_IMPL_PRIVATE() [1/3]

zyppng::ZYPP_IMPL_PRIVATE ( Provide )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [16/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideMediaSpec )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [17/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideFileSpec )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [18/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideItem )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [19/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( MediaDataVerifier )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [20/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( ProvideStatus )

◆ DEFAULT_MEDIA_VERIFIER()

static constexpr std::string_view zyppng::DEFAULT_MEDIA_VERIFIER ( "SuseMediaV1" )
staticconstexpr

◆ ZYPP_IMPL_PRIVATE() [2/3]

zyppng::ZYPP_IMPL_PRIVATE ( ProvideItem )

◆ fieldValFromProto()

static ProvideMessage::FieldVal zyppng::fieldValFromProto ( const zypp::proto::DataField & field)
static

Definition at line 108 of file providemessage.cc.

◆ fieldValToProto()

static void zyppng::fieldValToProto ( const ProvideMessage::FieldVal & val,
zypp::proto::DataField & field )
static

Definition at line 134 of file providemessage.cc.

◆ validateMessage()

static expected< void > zyppng::validateMessage ( const ProvideMessage & msg)
static

Definition at line 150 of file providemessage.cc.

◆ operator<<() [2/2]

std::ostream & zyppng::operator<< ( std::ostream & str,
const ProvideFileSpec & obj )

Definition at line 282 of file providespec.cc.

◆ dumpOn()

std::ostream & zyppng::dumpOn ( std::ostream & str,
const ProvideFileSpec & obj )

Definition at line 285 of file providespec.cc.

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [21/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( Downloader )

◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [22/22]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS ( Download )

◆ defaultAgentString()

static const std::string & zyppng::defaultAgentString ( )
static

Definition at line 31 of file networkrequestdispatcher.cc.

◆ ZYPP_IMPL_PRIVATE() [3/3]

zyppng::ZYPP_IMPL_PRIVATE ( NetworkRequestError )

Variable Documentation

◆ penaltyIncrease

constexpr uint zyppng::penaltyIncrease = 100
constexpr

Definition at line 18 of file mirrorcontrol.cc.

◆ defaultSampleTime

constexpr uint zyppng::defaultSampleTime = 2
constexpr

Definition at line 19 of file mirrorcontrol.cc.

◆ defaultMaxConnections

constexpr uint zyppng::defaultMaxConnections = 5
constexpr

Definition at line 20 of file mirrorcontrol.cc.

◆ CurlNativeErrorCodeDescKey

constexpr std::string_view zyppng::CurlNativeErrorCodeDescKey = "nativeErrorCodeDesc"
constexpr

Definition at line 20 of file networkrequesterror.cc.

◆ CurlNativeErrorDescKey

constexpr std::string_view zyppng::CurlNativeErrorDescKey = "nativeErrorDesc"
constexpr

Definition at line 21 of file networkrequesterror.cc.