libzypp 17.38.5

zyppng Namespace Reference

## Namespaces
namespace | repo
namespace | PlaindirWorkflows
namespace | RepoDownloaderWorkflow
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 | RepoServicesWorkflow
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 | env
namespace | detail
namespace | AcceptNoDigestRequest
namespace | AcceptUnknownDigestRequest
namespace | AcceptWrongDigestRequest
namespace | AcceptKeyRequest
namespace | VerifyInfoEvent
namespace | AcceptUnsignedFileRequest
namespace | AcceptUnknownKeyRequest
| Ask the user to accept a unknown key.
namespace | AcceptFailedVerificationRequest
| Ask the user to accept a file that is signed but where the signature verification failed.
namespace | AcceptPackageKeyRequest
| Ask user to trust and/or import the package key to trusted keyring.
namespace | NonImportedKeysInfoEvent
| Notify the user about keys that were not imported from the rpm key database into zypp keyring.
namespace | KeyAutoImportInfoEvent
| Notify that a repository auto imported new package signing keys.
namespace | CheckSumWorkflow
namespace | DownloadWorkflow
namespace | KeyRingWorkflow
namespace | RepoInfoWorkflow
namespace | SignatureFileCheckWorkflow
namespace | internal
namespace | str
namespace | constants
namespace | operators
namespace | rpc

## Classes
class | Context
class | AttachedMediaInfo
class | ProvideMediaHandle
class | ProvideRes
class | Provide
class | RepoManagerPrivate
struct | ProgressObserverAdaptor
struct | RepoCollector
| Simple callback to collect the results. More...
class | ServiceCollector
| Functor collecting ServiceInfos into a ServiceSet. More...
class | RepoManager
| The RepoManager class Provides knowledge and methods to maintain repo settings and metadata for a given context. More...
class | BasicReportHelper
class | DigestReportHelper
class | KeyRingReportHelper
class | JobReportHelper
class | TrustKeyRequest
class | CacheProviderContext
struct | MaybeAsyncMixin
struct | LogicBase
struct | SyncOp
struct | SimpleExecutor
class | AbstractEventSource
struct | AutoDisconnect
class | Base
class | EventDispatcher
class | EventLoop
class | AbstractEventSourcePrivate
class | BasePrivate
struct | GUnixPollFD
struct | GAbstractEventSource
struct | GLibTimerSource
struct | GlibWaitPIDData
struct | GlibTimeoutData
class | EventDispatcherPrivate
class | EventLoopPrivate
struct | Pipe
struct | ThreadData
class | Signal
class | MemSignal
class | Signal< R(T...)>
class | MemSignal< SignalHost, ReturnType(Arguments...)>
class | SignalProxy
class | SignalProxy< R(T...)>
| Hides the signals emit function from external code. More...
class | SocketNotifierPrivate
class | SocketNotifier
struct | Transition
class | Statemachine
| This defines the actual StateMachine. More...
class | BasicState
class | SimpleState
class | TimerPrivate
class | Timer
| The Timer class provides repetitive and single-shot timers. More...
class | UnixSignalSourcePrivate
class | UnixSignalSource
class | AsyncDataSource
class | IODevice
class | IODeviceOStreamBuf
class | AbstractSpawnEngine
class | AsyncDataSourcePrivate
class | AbstractDirectSpawnEngine
class | ForkSpawnEngine
class | IOBuffer
class | IODevicePrivate
class | SocketPrivate
class | ProcessPrivate
class | Process
class | SockAddr
class | UnixSockAddr
class | Socket
struct | function_traits
struct | function_traits< R(Args...)>
struct | function_traits< R(*)(Args...)>
struct | function_traits< R(&)(Args...)>
struct | function_traits< R(C::*)(Args...)>
struct | function_traits< R(C::*)(Args...) const >
struct | function_traits< R(C::*)>
struct | function_traits< F, std::void_t< decltype(&F::operator())> >
struct | is_instance_of
struct | is_instance_of< Templ, Templ< Args... > >
struct | remove_smart_ptr
struct | remove_smart_ptr< std::shared_ptr< T > >
struct | remove_smart_ptr< std::unique_ptr< T > >
class | myerror_t
class | NotFoundException
class | unexpected
class | expected
class | expected< void, E >
class | InvalidMessageReceivedException
class | StompFrameStream
class | AsyncQueueBase
class | AsyncQueue
class | AsyncQueueWatch
class | AsyncQueueWatchPrivate
class | Wakeup
class | UserInterfacePrivate
class | ProgressObserverPrivate
class | ProgressObserver
class | UserInterface
class | UserRequest
class | ShowMessageRequest
class | ListChoiceRequest
class | BooleanChoiceRequest
class | CurlMultiPartDataReceiver
class | CurlMultiPartHandler
| The CurlMultiPartHandler class. More...
class | NetworkRequestError
| The NetworkRequestError class Represents a error that occured in. More...
class | NetworkRequestDispatcherPrivate
class | NetworkRequestErrorPrivate
class | NetworkRequestPrivate
struct | RangeDesc
class | NetworkRequest
class | ZckError
class | ZckLoader
class | HeaderValue
class | HeaderValueMap
class | LazyMediaHandle
class | ProvideSpecBasePrivate
class | ProvideMediaSpec
class | ProvideFileSpec

## Typedefs
using | KeyRing = zypp::KeyRing
using | KeyRingRef = zypp::KeyRing_Ptr
using | ProvideRes = Provide::Res
using | RepoInfo = zypp::RepoInfo
using | RepoStatus = zypp::RepoStatus
using | RepoInfoList = zypp::RepoInfoList
using | ServiceInfo = zypp::ServiceInfo
using | RepoManagerOptions = zypp::RepoManagerOptions
using | PluginRepoverification = zypp_private::repo::PluginRepoverification
using | connection = sigc::connection
using | trackable = sigc::trackable
template<class R, class... T>
using | SignalProxyBase = sigc::signal<R(T...)>
template<typename T>
using | Ref = std::shared_ptr<T>
template<typename T>
using | WeakRef = std::weak_ptr<T>
using | ByteArray = zypp::ByteArray
using | UByteArray = zypp::UByteArray
using | IdString = zypp::IdString
using | IdStringSet = zypp::IdStringSet
using | Url = zypp::Url
template<typename T>
using | has_call_operator = decltype (&T::operator())
template<typename T>
using | remove_smart_ptr_t = typename remove_smart_ptr<T>::type
using | UserData = zypp::callback::UserData
using | ContentType = zypp::ContentType
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

## Enumerations
enum | { DefChunkSize = 4096 }
enum | { DefIoDeviceBufChunkSize = 16384 }
enum class | UserRequestType : uint { Message , ListChoice , BooleanChoice , KeyTrust , Custom = 512 }

## Functions
| ZYPP_FWD_DECL_TYPE_WITH_REFS (EventDispatcher)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (NetworkRequestDispatcher)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (NetworkRequest)
| ZYPP_IMPL_PRIVATE_CONSTR (Context)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Context)
template<typename T>
auto | joinPipeline (ContextRef ctx, T &&val)
| IMPL_PTR_TYPE (AttachedMediaInfo)
| ZYPP_IMPL_PRIVATE_CONSTR (Provide)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Provide)
| DEFINE_PTR_TYPE (AttachedMediaInfo)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (SyncContext)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProgressObserver)
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::RawMetadataRefreshPolicy obj)
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::RefreshCheckStatus obj)
std::ostream & | operator<< (std::ostream &str, zypp::RepoManagerFlags::CacheBuildPolicy obj)
std::string | filenameFromAlias (const std::string &alias_r, const std::string &stem_r)
| Generate a related filename from a repo/service infos alias.
expected< std::list< RepoInfo > > | repositories_in_file (const zypp::Pathname &file)
| Reads RepoInfo's from a repo file.
template<typename ZContextRef>
std::list< RepoInfo > | repositories_in_dir (ZContextRef zyppContext, const zypp::Pathname &dir)
| List of RepoInfo's from a directory.
expected< void > | assert_urls (const RepoInfo &info)
bool | autoPruneInDir (const zypp::Pathname &path_r)
| bsc#1204956: Tweak to prevent auto pruning package caches.
void | cleanupNonRepoMetadtaFolders (const zypp::Pathname &cachePath_r, const zypp::Pathname &defaultCachePath_r, const std::list< std::string > &repoEscAliases_r)
| Generate a non existing filename in a directory, using a base name.
| ZYPP_FWD_DECL_TYPE_WITH_REFS (RepoManager)
bool | isTmpRepo (const RepoInfo &info_r)
| Whether repo is not under RM control and provides its own methadata paths.
expected< void > | assert_alias (const RepoInfo &info)
expected< void > | assert_alias (const ServiceInfo &info)
template<class Iterator>
bool | foundAliasIn (const std::string &alias_r, Iterator begin_r, Iterator end_r)
| Check if alias_r is present in repo/service container.
template<class Container>
bool | foundAliasIn (const std::string &alias_r, const Container &cont_r)
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class Iterator>
Iterator | findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r)
| Find alias_r in repo/service container.
template<class Container>
Container::iterator | findAlias (const std::string &alias_r, Container &cont_r)
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class Container>
Container::const_iterator | findAlias (const std::string &alias_r, const Container &cont_r)
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
expected< void > | assert_url (const ServiceInfo &info)
expected< zypp::Pathname > | rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
expected< zypp::Pathname > | rawproductdata_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.
expected< zypp::Pathname > | packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the packages cache path for a repository.
expected< zypp::Pathname > | solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
| Calculates the solv cache path for a repository.
| ZYPP_FWD_DECL_REFS (Context)
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (TrustKeyRequest, std::string label, KeyTrust trust, UserData userData)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (TrustKeyRequest)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (CacheProviderContext)
template<typename Obj, typename Functor, std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true>
decltype(auto) | base_slot (Obj *o, Functor &&f)
template<typename Obj, typename Functor, std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true>
decltype(auto) | base_slot (Obj &o, Functor &&f)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UnixSignalSource)
static int | readMask ()
static int | writeMask ()
static int | excpMask ()
static int | evModeToMask (int mode)
static int | gioConditionToEventTypes (const GIOCondition rEvents, const int requestedEvs)
static gboolean | eventLoopIdleFunc (gpointer user_data)
| Called when the event loop is idle, here we run cleanup tasks and call later() callbacks of the user.
| ZYPP_FWD_DECL_TYPE_WITH_REFS (EventLoop)
bool | blockAllSignalsForCurrentThread ()
bool | blockSignalsForCurrentThread (const std::vector< int > &sigs)
bool | trySocketConnection (int &sockFD, const SockAddr &addr, uint64_t timeout)
void | renumberFd (int origfd, int newfd)
int64_t | bytesAvailableOnFD (int fd)
std::string | strerr_cxx (const int err=-1)
template<typename Fun, typename RestartCb, typename... Args>
auto | eintrSafeCallEx (const Fun &function, const RestartCb &restartCb, Args &&... args)
template<typename Fun, typename... Args>
auto | eintrSafeCall (Fun &&function, Args &&... args)
ThreadData & | threadData ()
constexpr bool | DefaultStateCondition (true)
constexpr std::nullptr_t | DefaultStateTransition (nullptr)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Timer)
| ZYPP_IMPL_PRIVATE (UnixSignalSource)
std::unique_ptr< zyppng::AbstractSpawnEngine > | engineFromEnv ()
| ZYPP_FWD_DECL_TYPE_WITH_REFS (IODevice)
| ZYPP_DECLARE_OPERATORS_FOR_FLAGS (IODevice::OpenMode)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (Process)
| ZYPP_FWD_DECL_REFS (Socket)
template<class Transformation, class DefaultType, class Predicate>
auto | firstOf (Transformation &&transformFunc, DefaultType &&def, Predicate &&predicate=detail::ContinueUntilValidPredicate())
template<typename ... Excpt>
bool | containsOneOfException (const std::exception_ptr &exceptionPtr)
template<typename Excpt>
bool | containsException (const std::exception_ptr &exceptionPtr)
template<class E>
| unexpected (E) -> unexpected< E >
template<typename Type, typename Err = std::exception_ptr>
static expected< std::decay_t< Type >, Err > | make_expected_success (Type &&t)
template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, T>>
ResultType | and_then (const expected< T, E > &exp, Function &&f)
template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, T>>
ResultType | and_then (expected< T, E > &&exp, Function &&f)
template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, E>>
ResultType | or_else (const expected< T, E > &exp, Function &&f)
template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, E>>
ResultType | or_else (expected< T, E > &&exp, Function &&f)
template<template< class, class... > class Container, typename T, typename E, typename ... CArgs>
std::enable_if_t<!std::is_same_v< void, T >, expected< Container< T >, E > > | collect (Container< expected< T, E >, CArgs... > &&in)
template<template< class, class... > class Container, typename T, typename E, typename ... CArgs>
std::enable_if_t< std::is_same_v< void, T >, expected< T, E > > | collect (Container< expected< T, E >, CArgs... > &&in)
template<typename T, typename E, typename Function>
expected< T, E > | inspect (expected< T, E > exp, Function &&f)
template<typename T, typename E, typename Function>
expected< T, E > | inspect_err (expected< T, E > exp, Function &&f)
template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>
std::enable_if_t< is_instance_of_v< expected, Ret >, expected< Container< typename Ret::value_type > > > | transform_collect (Container< Msg, CArgs... > &&in, Transformation &&f)
template<typename Fun>
auto | lift (Fun &&func)
template<typename F, typename ... Args, typename Ret = std::invoke_result_t<F, Args...>, typename Exp = expected<Ret, std::exception_ptr>>
auto | mtry (F &&f, Args &&...args)
template<typename Task, typename Pred>
auto | redo_while (Task &&todo, Pred &&until)
template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>
auto | transform (Container< Msg, CArgs... > &&val, Transformation &&transformation)
template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>
auto | transform (const Container< Msg, CArgs... > &val, Transformation &&transformation)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (StompFrameStream)
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ProgressObserver, const std::string &label, int steps)
| ZYPP_IMPL_PRIVATE_CONSTR (UserInterface)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UserInterface)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (UserRequest)
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ShowMessageRequest, std::string message, MType mType, UserData data)
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (ListChoiceRequest, std::string label, std::vector< Choice > answers, index_type defaultAnswer, UserData userData)
| ZYPP_IMPL_PRIVATE_CONSTR_ARGS (BooleanChoiceRequest, std::string label, const bool defaultAnswer, UserData userData)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ShowMessageRequest)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ListChoiceRequest)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (BooleanChoiceRequest)
static const std::string & | defaultAgentString ()
| ZYPP_IMPL_PRIVATE (NetworkRequestError)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ZckLoader)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideMediaSpec)
| ZYPP_FWD_DECL_TYPE_WITH_REFS (ProvideFileSpec)
std::ostream & | operator<< (std::ostream &str, const ProvideFileSpec &obj)
std::ostream & | dumpOn (std::ostream &str, const ProvideFileSpec &obj)
std::string | strerror (int errno_r) ZYPP_API
| Return string describing the error_r code.

## Variables
static GSourceFuncs | abstractEventSourceFuncs
static GSourceFuncs | glibTimerSourceFuncs
template<template< class ... > class Templ, class Type>
constexpr bool | is_instance_of_v = is_instance_of<Templ,Type>::value
constexpr auto | MAX_CMDLEN = 256
constexpr auto | MAX_HDRLEN = 8 * 1024
constexpr auto | MAX_BODYLEN = 1024 * 1024
constexpr std::string_view | CurlNativeErrorCodeDescKey = "nativeErrorCodeDesc"
constexpr std::string_view | CurlNativeErrorDescKey = "nativeErrorDesc"

## Typedef Documentation

## ◆ KeyRing

using zyppng::KeyRing = zypp::KeyRing

Definition at line 24 of file context.h.

## ◆ KeyRingRef

using zyppng::KeyRingRef = zypp::KeyRing_Ptr

Definition at line 25 of file context.h.

## ◆ ProvideRes

using zyppng::ProvideRes = Provide::Res

Definition at line 154 of file provide.h.

## ◆ RepoInfo

using zyppng::RepoInfo = zypp::RepoInfo

Definition at line 38 of file repomanager.h.

## ◆ RepoStatus

using zyppng::RepoStatus = zypp::RepoStatus

Definition at line 39 of file repomanager.h.

## ◆ RepoInfoList

using zyppng::RepoInfoList = zypp::RepoInfoList
| related

Definition at line 40 of file repomanager.h.

## ◆ ServiceInfo

using zyppng::ServiceInfo = zypp::ServiceInfo

Definition at line 41 of file repomanager.h.

## ◆ RepoManagerOptions

using zyppng::RepoManagerOptions = zypp::RepoManagerOptions

Definition at line 42 of file repomanager.h.

## ◆ PluginRepoverification

using zyppng::PluginRepoverification = zypp_private::repo::PluginRepoverification

Factory for Checker

Definition at line 43 of file repomanager.h.

## ◆ connection

using zyppng::connection = sigc::connection

Definition at line 180 of file signals.h.

## ◆ trackable

using zyppng::trackable = sigc::trackable

Definition at line 181 of file signals.h.

## ◆ SignalProxyBase

template<class R, class... T>

using zyppng::SignalProxyBase = sigc::signal<R(T...)>

Definition at line 185 of file signals.h.

## ◆ Ref

template<typename T>

using zyppng::Ref = std::shared_ptr<T>

Definition at line 110 of file zyppglobal.h.

## ◆ WeakRef

template<typename T>

using zyppng::WeakRef = std::weak_ptr<T>

Definition at line 113 of file zyppglobal.h.

## ◆ ByteArray

using zyppng::ByteArray = zypp::ByteArray

Definition at line 21 of file bytearray.h.

## ◆ UByteArray

using zyppng::UByteArray = zypp::UByteArray

Definition at line 22 of file bytearray.h.

## ◆ IdString

using zyppng::IdString = zypp::IdString

Definition at line 16 of file idstring.h.

## ◆ IdStringSet

using zyppng::IdStringSet = zypp::IdStringSet

Definition at line 17 of file idstring.h.

## ◆ Url

using zyppng::Url = zypp::Url

Definition at line 15 of file url.h.

## ◆ has_call_operator

template<typename T>

using zyppng::has_call_operator = decltype (&T::operator())

Definition at line 69 of file function_traits.h.

## ◆ remove_smart_ptr_t

template<typename T>

using zyppng::remove_smart_ptr_t = typename remove_smart_ptr<T>::type

Definition at line 133 of file type_traits.h.

## ◆ UserData

using zyppng::UserData = zypp::callback::UserData

Definition at line 18 of file userrequest.h.

## ◆ ContentType

using zyppng::ContentType = zypp::ContentType

Definition at line 19 of file userrequest.h.

## ◆ AuthData

using zyppng::AuthData = zypp::media::AuthData

Definition at line 21 of file authdata.h.

## ◆ AuthData_Ptr

using zyppng::AuthData_Ptr = zypp::media::AuthData_Ptr

Definition at line 22 of file authdata.h.

## ◆ NetworkAuthData

using zyppng::NetworkAuthData = zypp::media::CurlAuthData

Definition at line 24 of file authdata.h.

## ◆ NetworkAuthData_Ptr

using zyppng::NetworkAuthData_Ptr = zypp::media::CurlAuthData_Ptr

Definition at line 25 of file authdata.h.

## ◆ TransferSettings

using zyppng::TransferSettings = zypp::media::TransferSettings

Definition at line 20 of file transfersettings.h.

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
DefChunkSize |

Definition at line 7 of file iobuffer.cc.

## ◆ anonymous enum

anonymous enum

Enumerator
DefIoDeviceBufChunkSize |

Definition at line 31 of file iodevice_p.h.

## ◆ UserRequestType

enum class zyppng::UserRequestType : uint
| strong

Enumerator
Message |
ListChoice |
BooleanChoice |
KeyTrust |
Custom |

Definition at line 34 of file userrequest.h.

## Function Documentation

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [1/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | EventDispatcher |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [2/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | NetworkRequestDispatcher |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [3/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | NetworkRequest |  | ) |

## ◆ ZYPP_IMPL_PRIVATE_CONSTR() [1/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | Context |  | ) |

Definition at line 14 of file context.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [4/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Context |  | ) |

## ◆ joinPipeline()

template<typename T>

auto zyppng::joinPipeline | ( | ContextRef | ctx,
|  | T && | val )

Definition at line 52 of file context.h.

## ◆ IMPL_PTR_TYPE()

zyppng::IMPL_PTR_TYPE | ( | AttachedMediaInfo |  | ) |

## ◆ ZYPP_IMPL_PRIVATE_CONSTR() [2/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | Provide |  | ) |

Definition at line 156 of file provide.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [5/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Provide |  | ) |

## ◆ DEFINE_PTR_TYPE()

zyppng::DEFINE_PTR_TYPE | ( | AttachedMediaInfo |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [6/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | SyncContext |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [7/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProgressObserver |  | ) |

## ◆ operator<<() [1/4]

std::ostream & zyppng::operator<< | ( | std::ostream & | str,
|  | zypp::RepoManagerFlags::RawMetadataRefreshPolicy | obj )

Definition at line 101 of file repomanager.cc.

## ◆ operator<<() [2/4]

std::ostream & zyppng::operator<< | ( | std::ostream & | str,
|  | zypp::RepoManagerFlags::RefreshCheckStatus | obj )

Definition at line 113 of file repomanager.cc.

## ◆ operator<<() [3/4]

std::ostream & zyppng::operator<< | ( | std::ostream & | str,
|  | zypp::RepoManagerFlags::CacheBuildPolicy | obj )

Definition at line 125 of file repomanager.cc.

## ◆ filenameFromAlias()

std::string zyppng::filenameFromAlias | ( | const std::string & | alias_r,
|  | const std::string & | stem_r )

Generate a related filename from a repo/service infos alias.

Definition at line 137 of file repomanager.cc.

## ◆ repositories_in_file()

expected< std::list< RepoInfo > > zyppng::repositories_in_file | ( | const zypp::Pathname & | file | ) |

Reads RepoInfo's from a repo file.

Parameters

  file | pathname of the file to read.

Definition at line 167 of file repomanager.cc.

## ◆ repositories_in_dir()

template<typename ZContextRef>

std::list< RepoInfo > zyppng::repositories_in_dir | ( | ZContextRef | zyppContext,
|  | const zypp::Pathname & | dir )

List of RepoInfo's from a directory.

Goes trough every file ending with ".repo" in a directory and adds all RepoInfo's contained in that file.

Parameters

  zyppContext | current context used for reports
  dir | pathname of the directory to read.

Definition at line 189 of file repomanager.cc.

## ◆ assert_urls()

expected< void > zyppng::assert_urls | ( | const RepoInfo & | info | ) |

Definition at line 227 of file repomanager.cc.

## ◆ autoPruneInDir()

bool zyppng::autoPruneInDir | ( | const zypp::Pathname & | path_r | ) |

bsc#1204956: Tweak to prevent auto pruning package caches.

Definition at line 234 of file repomanager.cc.

## ◆ cleanupNonRepoMetadtaFolders()

void zyppng::cleanupNonRepoMetadtaFolders | ( | const zypp::Pathname & | cachePath_r,
|  | const zypp::Pathname & | defaultCachePath_r,
|  | const std::list< std::string > & | repoEscAliases_r )
| inline

Generate a non existing filename in a directory, using a base name.

For example if a directory contains 3 files

|– bar |– foo `– moo

If you try to generate a unique filename for this directory, based on "ruu" you will get "ruu", but if you use the base "foo" you will get "foo_1"

Parameters

  dir | Directory where the file needs to be unique
  basefilename | string to base the filename on. */

zypp::Pathname RepoManager::generateNonExistingName( const zypp::Pathname & dir, const std::string & basefilename ) const { std::string final_filename = basefilename; int counter = 1; while ( zypp::PathInfo(dir + final_filename).isExist() ) { final_filename = basefilename + "_" + zypp::str::numstring(counter); ++counter; } return dir + zypp::Pathname(final_filename); }

expected<void> RepoManager::touchIndexFile(const RepoInfo &info, const RepoManagerOptions &options) { try { zypp::Pathname productdatapath = rawproductdata_path_for_repoinfo( options, info ).unwrap();

zypp::repo::RepoType repokind = info.type(); if ( repokind.toEnum() == zypp::repo::RepoType::NONE_e ) unknown, probe the local metadata repokind = probeCache( productdatapath ); if still unknown, just return if (repokind == zypp::repo::RepoType::NONE_e) return expected<void>::success();

zypp::Pathname p; switch ( repokind.toEnum() ) { case zypp::repo::RepoType::RPMMD_e : p = zypp::Pathname(productdatapath + "/repodata/repomd.xml"); break;

case zypp::repo::RepoType::YAST2_e : p = zypp::Pathname(productdatapath + "/content"); break;

case zypp::repo::RepoType::RPMPLAINDIR_e : p = zypp::Pathname(productdatapath + "/cookie"); break;

case zypp::repo::RepoType::NONE_e : default: break; }

touch the file, ignore error (they are logged anyway) zypp::filesystem::touch(p); } catch ( ... ) { return expected<void>::error( ZYPP_FWD_CURRENT_EXCPT() ); } return expected<void>::success(); }

expected<void> RepoManager::refreshGeoIp( const RepoInfo::url_set &urls ) { return joinPipeline( _zyppContext, RepoManagerWorkflow::refreshGeoIPData( _zyppContext, urls) ); }

expected<void> RepoManager::touchIndexFile( const RepoInfo & info ) { return touchIndexFile( info, _options ); }

expected<void> RepoManager::init_knownServices() { try { zypp::Pathname dir = _options.knownServicesPath; std::list<zypp::Pathname> entries; if (zypp::PathInfo(dir).isExist()) { if ( zypp::filesystem::readdir( entries, dir, false ) != 0 ) { TranslatorExplanation 's' is a pathname ZYPP_THROW(zypp::Exception(zypp::str::form(_("Failed to read directory '%s'"), dir.c_str()))); }

str::regex allowedServiceExt("^\\.service(_[0-9]+)?$"); for_(it, entries.begin(), entries.end() ) { zypp::parser::ServiceFileReader(*it, ServiceCollector(_services)); } }

zypp::repo::PluginServices(_options.pluginsPath/"services", ServiceCollector(_services));

return expected<void>::success();

} catch ( ... ) { return expected<void>::error( std::current_exception () ); }

}

namespace { /** Delete cachePath_r subdirs not matching known aliases in repoEscAliases_r (must be sorted!)

Note
  bnc#891515: Auto-cleanup only zypp.conf default locations. Otherwise we'd need some magic file to identify zypp cache directories. Without this we may easily remove user data (zypper –pkg-cache-dir . download ...)
  bsc#1210740: Don't cleanup if read-only mode was promised.

Definition at line 1362 of file repomanager.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [8/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | RepoManager |  | ) |

## ◆ isTmpRepo()

bool zyppng::isTmpRepo | ( | const RepoInfo & | info_r | ) |
| inline

Whether repo is not under RM control and provides its own methadata paths.

Definition at line 49 of file repomanager.h.

## ◆ assert_alias() [1/2]

expected< void > zyppng::assert_alias | ( | const RepoInfo & | info | ) |
| inline

Definition at line 52 of file repomanager.h.

## ◆ assert_alias() [2/2]

expected< void > zyppng::assert_alias | ( | const ServiceInfo & | info | ) |
| inline

Definition at line 65 of file repomanager.h.

## ◆ foundAliasIn() [1/2]

template<class Iterator>

bool zyppng::foundAliasIn | ( | const std::string & | alias_r,
|  | Iterator | begin_r,
|  | Iterator | end_r )
| inline

Check if alias_r is present in repo/service container.

Definition at line 79 of file repomanager.h.

## ◆ foundAliasIn() [2/2]

template<class Container>

bool zyppng::foundAliasIn | ( | const std::string & | alias_r,
|  | const Container & | cont_r )
| inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 88 of file repomanager.h.

## ◆ findAlias() [1/3]

template<class Iterator>

Iterator zyppng::findAlias | ( | const std::string & | alias_r,
|  | Iterator | begin_r,
|  | Iterator | end_r )
| inline

Find alias_r in repo/service container.

Definition at line 93 of file repomanager.h.

## ◆ findAlias() [2/3]

template<class Container>

Container::iterator zyppng::findAlias | ( | const std::string & | alias_r,
|  | Container & | cont_r )
| inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 102 of file repomanager.h.

## ◆ findAlias() [3/3]

template<class Container>

Container::const_iterator zyppng::findAlias | ( | const std::string & | alias_r,
|  | const Container & | cont_r )
| inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 106 of file repomanager.h.

## ◆ assert_url()

expected< void > zyppng::assert_url | ( | const ServiceInfo & | info | ) |
| inline

Definition at line 155 of file repomanager.h.

## ◆ rawcache_path_for_repoinfo()

expected< zypp::Pathname > zyppng::rawcache_path_for_repoinfo | ( | const RepoManagerOptions & | opt,
|  | const RepoInfo & | info )
| inline

Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.

Definition at line 166 of file repomanager.h.

## ◆ rawproductdata_path_for_repoinfo()

expected< zypp::Pathname > zyppng::rawproductdata_path_for_repoinfo | ( | const RepoManagerOptions & | opt,
|  | const RepoInfo & | info )
| inline

Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.

It should be different only for repositories that are not in the root of the media. for example /var/cache/zypp/alias/addondir

Definition at line 180 of file repomanager.h.

## ◆ packagescache_path_for_repoinfo()

expected< zypp::Pathname > zyppng::packagescache_path_for_repoinfo | ( | const RepoManagerOptions & | opt,
|  | const RepoInfo & | info )
| inline

Calculates the packages cache path for a repository.

Definition at line 189 of file repomanager.h.

## ◆ solv_path_for_repoinfo()

expected< zypp::Pathname > zyppng::solv_path_for_repoinfo | ( | const RepoManagerOptions & | opt,
|  | const RepoInfo & | info )
| inline

Calculates the solv cache path for a repository.

Definition at line 199 of file repomanager.h.

## ◆ ZYPP_FWD_DECL_REFS() [1/2]

zyppng::ZYPP_FWD_DECL_REFS | ( | Context |  | ) |

## ◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS() [1/5]

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() [9/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | TrustKeyRequest |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [10/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | CacheProviderContext |  | ) |

## ◆ base_slot() [1/2]

template<typename Obj, typename Functor, std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true>

decltype(auto) zyppng::base_slot | ( | Obj * | o,
|  | Functor && | f )
| inline

Definition at line 181 of file base.h.

## ◆ base_slot() [2/2]

template<typename Obj, typename Functor, std::enable_if_t< std::is_base_of_v< Base, Obj >||std::is_base_of_v< BasePrivate, Obj >, bool > = true>

decltype(auto) zyppng::base_slot | ( | Obj & | o,
|  | Functor && | f )
| inline

Definition at line 189 of file base.h.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [11/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UnixSignalSource |  | ) |

## ◆ readMask()

int zyppng::readMask | ( |  | ) |
| inline static

Definition at line 13 of file eventdispatcher_glib.cc.

## ◆ writeMask()

int zyppng::writeMask | ( |  | ) |
| inline static

Definition at line 17 of file eventdispatcher_glib.cc.

## ◆ excpMask()

int zyppng::excpMask | ( |  | ) |
| inline static

Definition at line 21 of file eventdispatcher_glib.cc.

## ◆ evModeToMask()

int zyppng::evModeToMask | ( | int | mode | ) |
| inline static

Definition at line 25 of file eventdispatcher_glib.cc.

## ◆ gioConditionToEventTypes()

int zyppng::gioConditionToEventTypes | ( | const GIOCondition | rEvents,
|  | const int | requestedEvs )
| inline static

Definition at line 39 of file eventdispatcher_glib.cc.

## ◆ eventLoopIdleFunc()

gboolean zyppng::eventLoopIdleFunc | ( | gpointer | user_data | ) |
| static

Called when the event loop is idle, here we run cleanup tasks and call later() callbacks of the user.

Definition at line 231 of file eventdispatcher_glib.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [12/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | EventLoop |  | ) |

## ◆ blockAllSignalsForCurrentThread()

bool zyppng::blockAllSignalsForCurrentThread | ( |  | ) |

Definition at line 15 of file linuxhelpers.cc.

## ◆ blockSignalsForCurrentThread()

bool zyppng::blockSignalsForCurrentThread | ( | const std::vector< int > & | sigs | ) |

Definition at line 23 of file linuxhelpers.cc.

## ◆ trySocketConnection()

bool zyppng::trySocketConnection | ( | int & | sockFD,
|  | const SockAddr & | addr,
|  | uint64_t | timeout )

Definition at line 34 of file linuxhelpers.cc.

## ◆ renumberFd()

void zyppng::renumberFd | ( | int | origfd,
|  | int | newfd )

Definition at line 50 of file linuxhelpers.cc.

## ◆ bytesAvailableOnFD()

int64_t zyppng::bytesAvailableOnFD | ( | int | fd | ) |

Tries to use the FIONREAD ioctl to detect how many bytes are available on a file descriptor, this can fail and return 0 so just use it as a indicator on how many bytes are pending

Definition at line 62 of file linuxhelpers.cc.

## ◆ strerr_cxx()

std::string zyppng::strerr_cxx | ( | const int | err = -1 | ) |
| inline

Definition at line 14 of file linuxhelpers_p.h.

## ◆ eintrSafeCallEx()

template<typename Fun, typename RestartCb, typename... Args>

auto zyppng::eintrSafeCallEx | ( | const Fun & | function,
|  | const RestartCb & | restartCb,
|  | Args &&... | args )

Extended version of eintrSafeCall

Calls a given function in a EINTR safe way. The restartCb is invoked after every time we have to restart function because of EINTR, it can be used to reset additional errors:

FILE *myFile;
// open file
// ...
eintrSafeCall( ::getline, [&](){ ::clearerr(myFile); }, myFile );
zyppng::eintrSafeCall
auto eintrSafeCall(Fun &&function, Args &&... args)
Definition linuxhelpers_p.h:50

Definition at line 35 of file linuxhelpers_p.h.

## ◆ eintrSafeCall()

template<typename Fun, typename... Args>

auto zyppng::eintrSafeCall | ( | Fun && | function,
|  | Args &&... | args )

Definition at line 50 of file linuxhelpers_p.h.

## ◆ threadData()

ThreadData & zyppng::threadData | ( |  | ) |

## ◆ DefaultStateCondition()

bool zyppng::DefaultStateCondition | ( | true |  | ) |
| constexpr

## ◆ DefaultStateTransition()

std::nullptr_t zyppng::DefaultStateTransition | ( | nullptr |  | ) |
| constexpr

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [13/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Timer |  | ) |

## ◆ ZYPP_IMPL_PRIVATE() [1/2]

zyppng::ZYPP_IMPL_PRIVATE | ( | UnixSignalSource |  | ) |

## ◆ engineFromEnv()

std::unique_ptr< zyppng::AbstractSpawnEngine > zyppng::engineFromEnv | ( |  | ) |

Definition at line 51 of file abstractspawnengine.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [14/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | IODevice |  | ) |

## ◆ ZYPP_DECLARE_OPERATORS_FOR_FLAGS()

zyppng::ZYPP_DECLARE_OPERATORS_FOR_FLAGS | ( | IODevice::OpenMode |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [15/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Process |  | ) |

## ◆ ZYPP_FWD_DECL_REFS() [2/2]

zyppng::ZYPP_FWD_DECL_REFS | ( | Socket |  | ) |

## ◆ firstOf()

template<class Transformation, class DefaultType, class Predicate>

auto zyppng::firstOf | ( | Transformation && | transformFunc,
|  | DefaultType && | def,
|  | Predicate && | predicate = detail::ContinueUntilValidPredicate() )
| inline

Definition at line 94 of file algorithm.h.

## ◆ containsOneOfException()

template<typename ... Excpt>

bool zyppng::containsOneOfException | ( | const std::exception_ptr & | exceptionPtr | ) |

Checks if a given std::exception_ptr contains one of the given exception types in the template arguments:

expected<int> result = someFuncReturningExpected();
if ( !result && containsOneOfException<zypp::FileNotFoundException, SomeOtherException>( result.error() ) ) {
std::cout << "Contains either zypp::FileNotFoundException or SomeOtherException" << std::endl;
}
zyppng::expected
Definition expected.h:56
zyppng::expected::error
static expected error(ConsParams &&...params)
Definition expected.h:189
zyppng::containsOneOfException
bool containsOneOfException(const std::exception_ptr &exceptionPtr)
Definition algorithm.h:132

Detects exceptions by throwing and catching them, so always pass the specific exception types to check for..

Definition at line 132 of file algorithm.h.

## ◆ containsException()

template<typename Excpt>

bool zyppng::containsException | ( | const std::exception_ptr & | exceptionPtr | ) |

Checks if a given std::exception_ptr contains the given exception type in the template type argument:

expected<int> result = someFuncReturningExpected();
if ( !result && containsException<zypp::FileNotFoundException>( result.error() ) ) {
std::cout << "Contains zypp::FileNotFoundException" << std::endl;
}
zyppng::containsException
bool containsException(const std::exception_ptr &exceptionPtr)
Definition algorithm.h:153

Definition at line 153 of file algorithm.h.

## ◆ unexpected()

template<class E>

zyppng::unexpected | ( | E |  | ) | -> unexpected< E >

## ◆ make_expected_success()

template<typename Type, typename Err = std::exception_ptr>

expected< std::decay_t< Type >, Err > zyppng::make_expected_success | ( | Type && | t | ) |
| static

Definition at line 470 of file expected.h.

## ◆ and_then() [1/2]

template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, T>>

ResultType zyppng::and_then | ( | const expected< T, E > & | exp,
|  | Function && | f )

Definition at line 520 of file expected.h.

## ◆ and_then() [2/2]

template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, T>>

ResultType zyppng::and_then | ( | expected< T, E > && | exp,
|  | Function && | f )

Definition at line 537 of file expected.h.

## ◆ or_else() [1/2]

template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, E>>

ResultType zyppng::or_else | ( | const expected< T, E > & | exp,
|  | Function && | f )

Definition at line 554 of file expected.h.

## ◆ or_else() [2/2]

template<typename T, typename E, typename Function, typename ResultType = detail::mbind_cb_result_t<Function, E>>

ResultType zyppng::or_else | ( | expected< T, E > && | exp,
|  | Function && | f )

Definition at line 568 of file expected.h.

## ◆ collect() [1/2]

template<template< class, class... > class Container, typename T, typename E, typename ... CArgs>

std::enable_if_t<!std::is_same_v< void, T >, expected< Container< T >, E > > zyppng::collect | ( | Container< expected< T, E >, CArgs... > && | in | ) |

Collects all values from a Container of expected values, returning the contained values or the first error encountered as a expected<Container<T>>

Definition at line 586 of file expected.h.

## ◆ collect() [2/2]

template<template< class, class... > class Container, typename T, typename E, typename ... CArgs>

std::enable_if_t< std::is_same_v< void, T >, expected< T, E > > zyppng::collect | ( | Container< expected< T, E >, CArgs... > && | in | ) |

Specialization of collect working on a Container of expected<void> values, returning either success or the error encountered.

Definition at line 604 of file expected.h.

## ◆ inspect()

template<typename T, typename E, typename Function>

expected< T, E > zyppng::inspect | ( | expected< T, E > | exp,
|  | Function && | f )

Definition at line 616 of file expected.h.

## ◆ inspect_err()

template<typename T, typename E, typename Function>

expected< T, E > zyppng::inspect_err | ( | expected< T, E > | exp,
|  | Function && | f )

Definition at line 629 of file expected.h.

## ◆ transform_collect()

template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>

std::enable_if_t< is_instance_of_v< expected, Ret >, expected< Container< typename Ret::value_type > > > zyppng::transform_collect | ( | Container< Msg, CArgs... > && | in,
|  | Transformation && | f )

This is logically the same as

transform() | collect()
zyppng::operators::collect
detail::collect_helper collect()
Definition expected.h:735
zyppng::transform
auto transform(Container< Msg, CArgs... > &&val, Transformation &&transformation)
Definition transform.h:64

, but the inner loop will stop waiting / transforming as soon as a error is encountered and returns the error right away.

Definition at line 751 of file expected.h.

## ◆ lift()

template<typename Fun>

auto zyppng::lift | ( | Fun && | func | ) |

Definition at line 53 of file lift.h.

## ◆ mtry()

template<typename F, typename ... Args, typename Ret = std::invoke_result_t<F, Args...>, typename Exp = expected<Ret, std::exception_ptr>>

auto zyppng::mtry | ( | F && | f,
|  | Args &&... | args )

Definition at line 50 of file mtry.h.

## ◆ redo_while()

template<typename Task, typename Pred>

auto zyppng::redo_while | ( | Task && | todo,
|  | Pred && | until )

Definition at line 65 of file redo.h.

## ◆ transform() [1/2]

template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>

auto zyppng::transform | ( | Container< Msg, CArgs... > && | val,
|  | Transformation && | transformation )

Definition at line 64 of file transform.h.

## ◆ transform() [2/2]

template<template< class, class... > class Container, typename Msg, typename Transformation, typename Ret = std::result_of_t<Transformation(Msg)>, typename ... CArgs>

auto zyppng::transform | ( | const Container< Msg, CArgs... > & | val,
|  | Transformation && | transformation )

Definition at line 74 of file transform.h.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [16/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | StompFrameStream |  | ) |

## ◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS() [2/5]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | ProgressObserver | ,
|  | const std::string & | label,
|  | int | steps )

Definition at line 136 of file progressobserver.cc.

## ◆ ZYPP_IMPL_PRIVATE_CONSTR() [3/3]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | UserInterface |  | ) |

Definition at line 17 of file userinterface.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [17/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UserInterface |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [18/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UserRequest |  | ) |

## ◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS() [3/5]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | ShowMessageRequest | ,
|  | std::string | message,
|  | MType | mType,
|  | UserData | data )

Definition at line 32 of file userrequest.cc.

## ◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS() [4/5]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | ListChoiceRequest | ,
|  | std::string | label,
|  | std::vector< Choice > | answers,
|  | index_type | defaultAnswer,
|  | UserData | userData )

Definition at line 53 of file userrequest.cc.

## ◆ ZYPP_IMPL_PRIVATE_CONSTR_ARGS() [5/5]

zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | BooleanChoiceRequest | ,
|  | std::string | label,
|  | const bool | defaultAnswer,
|  | UserData | userData )

Definition at line 93 of file userrequest.cc.

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [19/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ShowMessageRequest |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [20/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ListChoiceRequest |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [21/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | BooleanChoiceRequest |  | ) |

## ◆ defaultAgentString()

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

Definition at line 31 of file networkrequestdispatcher.cc.

## ◆ ZYPP_IMPL_PRIVATE() [2/2]

zyppng::ZYPP_IMPL_PRIVATE | ( | NetworkRequestError |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [22/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ZckLoader |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [23/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideMediaSpec |  | ) |

## ◆ ZYPP_FWD_DECL_TYPE_WITH_REFS() [24/24]

zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideFileSpec |  | ) |

## ◆ operator<<() [4/4]

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

Definition at line 310 of file providespec.cc.

## ◆ dumpOn()

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

Definition at line 313 of file providespec.cc.

## ◆ strerror()

std::string zypp::str::strerror | ( | int | errno_r | ) |

Return string describing the error_r code.

Like ::strerror, but the numerical value is included in the string as well.

Definition at line 56 of file String.cc.

## Variable Documentation

## ◆ abstractEventSourceFuncs

GSourceFuncs zyppng::abstractEventSourceFuncs
| static

Initial value:
= {
GAbstractEventSource::prepare,
GAbstractEventSource::check,
GAbstractEventSource::dispatch,
nullptr,
nullptr,
nullptr
}
zyppng::GAbstractEventSource::check
static gboolean check(GSource *source)
Definition eventdispatcher_glib.cc:96
zyppng::GAbstractEventSource::dispatch
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
Definition eventdispatcher_glib.cc:126
zyppng::GAbstractEventSource::prepare
static gboolean prepare(GSource *, gint *timeout)
Definition eventdispatcher_glib.cc:86

Definition at line 54 of file eventdispatcher_glib.cc.

## ◆ glibTimerSourceFuncs

GSourceFuncs zyppng::glibTimerSourceFuncs
| static

Initial value:
= {
GLibTimerSource::prepare,
GLibTimerSource::check,
GLibTimerSource::dispatch,
nullptr,
nullptr,
nullptr
}
zyppng::GLibTimerSource::prepare
static gboolean prepare(GSource *src, gint *timeout)
Definition eventdispatcher_glib.cc:173
zyppng::GLibTimerSource::check
static gboolean check(GSource *source)
Definition eventdispatcher_glib.cc:194
zyppng::GLibTimerSource::dispatch
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
Definition eventdispatcher_glib.cc:200

Definition at line 163 of file eventdispatcher_glib.cc.

## ◆ is_instance_of_v

template<template< class ... > class Templ, class Type>

bool zyppng::is_instance_of_v = is_instance_of<Templ,Type>::value
| constexpr

Definition at line 120 of file type_traits.h.

## ◆ MAX_CMDLEN

auto zyppng::MAX_CMDLEN = 256
| constexpr

Definition at line 19 of file stompframestream.cc.

## ◆ MAX_HDRLEN

auto zyppng::MAX_HDRLEN = 8 * 1024
| constexpr

Definition at line 20 of file stompframestream.cc.

## ◆ MAX_BODYLEN

auto zyppng::MAX_BODYLEN = 1024 * 1024
| constexpr

Definition at line 21 of file stompframestream.cc.

## ◆ CurlNativeErrorCodeDescKey

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

Definition at line 20 of file networkrequesterror.cc.

## ◆ CurlNativeErrorDescKey

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

Definition at line 21 of file networkrequesterror.cc.