libzypp
17.36.1
|
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) | |
template<typename T > | |
auto | joinPipeline (ContextRef ctx, AsyncOpRef< T > res) |
ZYPP_FWD_DECL_TYPE_WITH_REFS (EventDispatcher) | |
ZYPP_FWD_DECL_TYPE_WITH_REFS (SyncContext) | |
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. More... | |
expected< std::list< RepoInfo > > | repositories_in_file (const zypp::Pathname &file) |
Reads RepoInfo's from a repo file. More... | |
template<typename ZContextRef > | |
std::list< RepoInfo > | repositories_in_dir (ZContextRef zyppContext, const zypp::Pathname &dir) |
List of RepoInfo's from a directory. More... | |
expected< void > | assert_urls (const RepoInfo &info) |
bool | autoPruneInDir (const zypp::Pathname &path_r) |
bsc#1204956: Tweak to prevent auto pruning package caches. More... | |
ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1 (RepoManager, ZyppContextRefType) | |
bool | isTmpRepo (const RepoInfo &info_r) |
Whether repo is not under RM control and provides its own methadata paths. More... | |
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. More... | |
template<class Container > | |
bool | foundAliasIn (const std::string &alias_r, const Container &cont_r) |
template<class Iterator > | |
Iterator | findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r) |
Find alias_r in repo/service container. More... | |
template<class Container > | |
Container::iterator | findAlias (const std::string &alias_r, Container &cont_r) |
template<class Container > | |
Container::const_iterator | findAlias (const std::string &alias_r, const Container &cont_r) |
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. More... | |
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. More... | |
expected< zypp::Pathname > | packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
Calculates the packages cache path for a repository. More... | |
expected< zypp::Pathname > | solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info) |
Calculates the solv cache path for a repository. More... | |
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_IMPL_PRIVATE_CONSTR (SyncContext) | |
template<typename T > | |
auto | joinPipeline (SyncContextRef ctx, T &&val) |
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 (AsyncOpBase) | |
template<typename T , bool isAsync = true> | |
std::conditional_t< isAsync, AsyncOpRef< T >, T > | makeReadyResult (T &&result) |
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. More... | |
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) | |
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<typename T , typename SignalGetter > | |
auto | await (SignalGetter &&sigGet) |
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> | |
auto | 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>> | |
Exp | 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> | |
Container< Ret > | 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> | |
Container< Ret > | transform (const Container< Msg, CArgs... > &val, Transformation &&transformation) |
auto | waitFor () |
auto | join () |
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 (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) | |
template<typename T > | |
static zyppng::expected< void > | doParseField (const std::string &val, ProvideMessage &t, std::string_view msgtype, std::string_view name) |
std::ostream & | operator<< (std::ostream &str, const ProvideFileSpec &obj) |
std::ostream & | dumpOn (std::ostream &str, const ProvideFileSpec &obj) |
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" |
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
Make sure URLs are rewritten, e.g. MediaSetAccess::rewriteUrl
typedef zypp::KeyRing zyppng::KeyRing |
typedef zypp::KeyRing_Ptr zyppng::KeyRingRef |
typedef LazyMediaHandle< Provide > zyppng::AsyncLazyMediaHandle |
Definition at line 33 of file repodownloaderwf.h.
Definition at line 34 of file repodownloaderwf.h.
using zyppng::RepoInfo = typedef zypp::RepoInfo |
Definition at line 36 of file repomanager.h.
using zyppng::RepoStatus = typedef zypp::RepoStatus |
Definition at line 37 of file repomanager.h.
|
related |
Definition at line 38 of file repomanager.h.
using zyppng::ServiceInfo = typedef zypp::ServiceInfo |
Definition at line 39 of file repomanager.h.
using zyppng::RepoManagerOptions = typedef zypp::RepoManagerOptions |
Definition at line 40 of file repomanager.h.
Factory for Checker
Definition at line 41 of file repomanager.h.
using zyppng::SyncRepoManager = typedef RepoManager<SyncContextRef> |
Definition at line 48 of file repomanager.h.
using zyppng::SyncRepoManagerRef = typedef RepoManagerRef<SyncContextRef> |
Definition at line 49 of file repomanager.h.
using zyppng::AsyncRepoManager = typedef RepoManager<ContextRef> |
Definition at line 51 of file repomanager.h.
using zyppng::AsyncRepoManagerRef = typedef RepoManagerRef<ContextRef> |
Definition at line 52 of file repomanager.h.
using zyppng::MaybeAsyncContextRef = typedef std::conditional_t<detail::is_async_op_v<OpType>, ContextRef, SyncContextRef> |
Definition at line 51 of file contextfacade.h.
using zyppng::AsyncCacheProviderContext = typedef CacheProviderContext<ContextRef> |
Definition at line 52 of file downloadwf.h.
using zyppng::SyncCacheProviderContext = typedef CacheProviderContext<SyncContextRef> |
Definition at line 53 of file downloadwf.h.
using zyppng::SyncProvideRes = typedef MediaSyncFacade::Res |
Definition at line 124 of file mediafacade.h.
using zyppng::AsyncOpRef = typedef std::shared_ptr<AsyncOp<T> > |
using zyppng::connection = typedef sigc::connection |
using zyppng::trackable = typedef sigc::trackable |
using zyppng::SignalProxyBase = typedef sigc::signal<R(T...)> |
using zyppng::Ref = typedef std::shared_ptr<T> |
Definition at line 110 of file zyppglobal.h.
using zyppng::WeakRef = typedef std::weak_ptr<T> |
Definition at line 113 of file zyppglobal.h.
using zyppng::ByteArray = typedef zypp::ByteArray |
Definition at line 21 of file bytearray.h.
using zyppng::UByteArray = typedef zypp::UByteArray |
Definition at line 22 of file bytearray.h.
using zyppng::IdString = typedef zypp::IdString |
Definition at line 16 of file idstring.h.
using zyppng::IdStringSet = typedef zypp::IdStringSet |
Definition at line 17 of file idstring.h.
using zyppng::Url = typedef zypp::Url |
using zyppng::has_call_operator = typedef decltype (&T::operator()) |
Definition at line 69 of file function_traits.h.
using zyppng::remove_smart_ptr_t = typedef typename remove_smart_ptr<T>::type |
Definition at line 133 of file type_traits.h.
using zyppng::UserData = typedef zypp::callback::UserData |
Definition at line 18 of file userrequest.h.
using zyppng::ContentType = typedef zypp::ContentType |
Definition at line 19 of file userrequest.h.
Definition at line 21 of file authdata.h.
using zyppng::AuthData_Ptr = typedef zypp::media::AuthData_Ptr |
Definition at line 22 of file authdata.h.
using zyppng::NetworkAuthData = typedef zypp::media::CurlAuthData |
Definition at line 24 of file authdata.h.
using zyppng::NetworkAuthData_Ptr = typedef zypp::media::CurlAuthData_Ptr |
Definition at line 25 of file authdata.h.
using zyppng::TransferSettings = typedef zypp::media::TransferSettings |
Definition at line 20 of file transfersettings.h.
using zyppng::ProvidePromiseRef = typedef std::shared_ptr<ProvidePromise<T> > |
Definition at line 31 of file providefwd_p.h.
using zyppng::ProvidePromiseWeakRef = typedef std::weak_ptr<ProvidePromise<T> > |
Definition at line 33 of file providefwd_p.h.
using zyppng::AnyMap = typedef std::unordered_map<std::string, boost::any> |
anonymous enum |
Enumerator | |
---|---|
DefChunkSize |
Definition at line 7 of file iobuffer.cc.
anonymous enum |
Enumerator | |
---|---|
DefIoDeviceBufChunkSize |
Definition at line 31 of file iodevice_p.h.
|
strong |
Enumerator | |
---|---|
Message | |
ListChoice | |
BooleanChoice | |
KeyTrust | |
Custom |
Definition at line 34 of file userrequest.h.
enum zyppng::MessageCodes : uint32_t |
Definition at line 308 of file providemessage_p.h.
zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | Context | ) |
Definition at line 19 of file context.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Context | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProgressObserver | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Provide | ) |
auto zyppng::joinPipeline | ( | ContextRef | ctx, |
AsyncOpRef< T > | res | ||
) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | EventDispatcher | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | SyncContext | ) |
std::ostream& zyppng::operator<< | ( | std::ostream & | str, |
zypp::RepoManagerFlags::RawMetadataRefreshPolicy | obj | ||
) |
Definition at line 101 of file repomanager.cc.
std::ostream& zyppng::operator<< | ( | std::ostream & | str, |
zypp::RepoManagerFlags::RefreshCheckStatus | obj | ||
) |
Definition at line 113 of file repomanager.cc.
std::ostream& zyppng::operator<< | ( | std::ostream & | str, |
zypp::RepoManagerFlags::CacheBuildPolicy | obj | ||
) |
Definition at line 125 of file repomanager.cc.
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.
expected< std::list< RepoInfo > > zyppng::repositories_in_file | ( | const zypp::Pathname & | file | ) |
Reads RepoInfo's from a repo file.
file | pathname of the file to read. |
Definition at line 167 of file repomanager.cc.
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.
zyppContext | current context used for reports |
dir | pathname of the directory to read. |
Definition at line 189 of file repomanager.cc.
Definition at line 227 of file repomanager.cc.
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.
zyppng::ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1 | ( | RepoManager | , |
ZyppContextRefType | |||
) |
Whether repo is not under RM control and provides its own methadata paths.
Definition at line 55 of file repomanager.h.
Definition at line 58 of file repomanager.h.
|
inline |
Definition at line 71 of file repomanager.h.
|
inline |
Check if alias_r is present in repo/service container.
Definition at line 85 of file repomanager.h.
|
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 94 of file repomanager.h.
|
inline |
Find alias_r in repo/service container.
Definition at line 99 of file repomanager.h.
|
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 108 of file repomanager.h.
|
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 112 of file repomanager.h.
|
inline |
Definition at line 161 of file repomanager.h.
|
inline |
Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
Definition at line 172 of file repomanager.h.
|
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 186 of file repomanager.h.
|
inline |
Calculates the packages cache path for a repository.
Definition at line 195 of file repomanager.h.
|
inline |
Calculates the solv cache path for a repository.
Definition at line 205 of file repomanager.h.
zyppng::ZYPP_FWD_DECL_REFS | ( | Context | ) |
zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | TrustKeyRequest | , |
std::string | label, | ||
KeyTrust | trust, | ||
UserData | userData | ||
) |
Definition at line 34 of file userrequest.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | TrustKeyRequest | ) |
zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | SyncContext | ) |
Definition at line 14 of file contextfacade.cc.
auto zyppng::joinPipeline | ( | SyncContextRef | ctx, |
T && | val | ||
) |
Definition at line 54 of file contextfacade.h.
zyppng::ZYPP_FWD_DECL_REFS | ( | AsyncCacheProviderContext | ) |
zyppng::ZYPP_FWD_DECL_REFS | ( | SyncCacheProviderContext | ) |
zyppng::IMPL_PTR_TYPE | ( | AttachedSyncMediaInfo | ) |
zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | MediaSyncFacade | ) |
Definition at line 153 of file mediafacade.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | MediaSyncFacade | ) |
zyppng::DEFINE_PTR_TYPE | ( | AttachedSyncMediaInfo | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | AsyncOpBase | ) |
std::conditional_t<isAsync, AsyncOpRef<T>, T> zyppng::makeReadyResult | ( | T && | result | ) |
Is isAsync is true returns a AsyncOpRef that is always ready, containing the result as its final value, otherwise the value passed to the function is just forwarded.
|
inline |
|
inline |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UnixSignalSource | ) |
|
inlinestatic |
Definition at line 13 of file eventdispatcher_glib.cc.
|
inlinestatic |
Definition at line 17 of file eventdispatcher_glib.cc.
|
inlinestatic |
Definition at line 21 of file eventdispatcher_glib.cc.
|
inlinestatic |
Definition at line 25 of file eventdispatcher_glib.cc.
|
inlinestatic |
Definition at line 39 of file eventdispatcher_glib.cc.
|
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.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | EventLoop | ) |
bool zyppng::blockAllSignalsForCurrentThread | ( | ) |
Definition at line 15 of file linuxhelpers.cc.
bool zyppng::blockSignalsForCurrentThread | ( | const std::vector< int > & | sigs | ) |
Definition at line 23 of file linuxhelpers.cc.
Definition at line 34 of file linuxhelpers.cc.
void zyppng::renumberFd | ( | int | origfd, |
int | newfd | ||
) |
Definition at line 50 of file linuxhelpers.cc.
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.
|
inline |
Definition at line 14 of file linuxhelpers_p.h.
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:
Definition at line 35 of file linuxhelpers_p.h.
auto zyppng::eintrSafeCall | ( | Fun && | function, |
Args &&... | args | ||
) |
Definition at line 50 of file linuxhelpers_p.h.
ThreadData& zyppng::threadData | ( | ) |
constexpr bool zyppng::DefaultStateCondition | ( | true | ) |
constexpr std::nullptr_t zyppng::DefaultStateTransition | ( | nullptr | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Timer | ) |
zyppng::ZYPP_IMPL_PRIVATE | ( | UnixSignalSource | ) |
std::unique_ptr<zyppng::AbstractSpawnEngine> zyppng::engineFromEnv | ( | ) |
Definition at line 51 of file abstractspawnengine.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | IODevice | ) |
zyppng::ZYPP_DECLARE_OPERATORS_FOR_FLAGS | ( | IODevice::OpenMode | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | Process | ) |
|
inline |
Definition at line 149 of file algorithm.h.
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:
Detects exceptions by throwing and catching them, so always pass the specific exception types to check for..
Definition at line 187 of file algorithm.h.
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:
Definition at line 208 of file algorithm.h.
auto zyppng::await | ( | SignalGetter && | sigGet | ) |
|
static |
Definition at line 397 of file expected.h.
ResultType zyppng::and_then | ( | const expected< T, E > & | exp, |
Function && | f | ||
) |
Definition at line 423 of file expected.h.
ResultType zyppng::and_then | ( | expected< T, E > && | exp, |
Function && | f | ||
) |
Definition at line 443 of file expected.h.
ResultType zyppng::or_else | ( | const expected< T, E > & | exp, |
Function && | f | ||
) |
Definition at line 463 of file expected.h.
ResultType zyppng::or_else | ( | expected< T, E > && | exp, |
Function && | f | ||
) |
Definition at line 480 of file expected.h.
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 501 of file expected.h.
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 519 of file expected.h.
expected<T, E> zyppng::inspect | ( | expected< T, E > | exp, |
Function && | f | ||
) |
Definition at line 531 of file expected.h.
expected<T, E> zyppng::inspect_err | ( | expected< T, E > | exp, |
Function && | f | ||
) |
Definition at line 544 of file expected.h.
auto zyppng::transform_collect | ( | Container< Msg, CArgs... > && | in, |
Transformation && | f | ||
) |
This is logically the same as
, but the inner loop will stop waiting / transforming as soon as a error is encountered and returns the error right away.
Definition at line 666 of file expected.h.
Exp zyppng::mtry | ( | F && | f, |
Args &&... | args | ||
) |
auto zyppng::redo_while | ( | Task && | todo, |
Pred && | until | ||
) |
Container<Ret> zyppng::transform | ( | Container< Msg, CArgs... > && | val, |
Transformation && | transformation | ||
) |
Definition at line 31 of file transform.h.
Container<Ret> zyppng::transform | ( | const Container< Msg, CArgs... > & | val, |
Transformation && | transformation | ||
) |
Definition at line 43 of file transform.h.
|
inline |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | StompFrameStream | ) |
zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | ProgressObserver | , |
const std::string & | label, | ||
int | steps | ||
) |
Definition at line 136 of file progressobserver.cc.
zyppng::ZYPP_IMPL_PRIVATE_CONSTR | ( | UserInterface | ) |
Definition at line 17 of file userinterface.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UserInterface | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | UserRequest | ) |
zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | ShowMessageRequest | , |
std::string | message, | ||
MType | mType, | ||
UserData | data | ||
) |
Definition at line 32 of file userrequest.cc.
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.
zyppng::ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | BooleanChoiceRequest | , |
std::string | label, | ||
const bool | defaultAnswer, | ||
UserData | userData | ||
) |
Definition at line 93 of file userrequest.cc.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ShowMessageRequest | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ListChoiceRequest | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | BooleanChoiceRequest | ) |
|
static |
Definition at line 31 of file networkrequestdispatcher.cc.
zyppng::ZYPP_IMPL_PRIVATE | ( | NetworkRequestError | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | SuseMediaDataVerifier | ) |
std::ostream& zyppng::operator<< | ( | std::ostream & | str, |
const MediaDataVerifierRef & | obj | ||
) |
Definition at line 130 of file mediaverifier.cc.
zyppng::DEFINE_PTR_TYPE | ( | AttachedMediaInfo | ) |
|
inline |
Definition at line 28 of file providedbg_p.h.
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideQueue | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideWorker | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideFileItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | AttachMediaItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | DetachMediaItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideRequest | ) |
constexpr std::string_view zyppng::AGENT_STRING_CONF | ( | "zconfig://media/UserAgent" | ) |
constexpr std::string_view zyppng::DISTRO_FLAV_CONF | ( | "zconfig://media/DistributionFlavor" | ) |
constexpr std::string_view zyppng::ANON_ID_CONF | ( | "zconfig://media/AnonymousId" | ) |
constexpr std::string_view zyppng::ATTACH_POINT | ( | "zconfig://media/AttachPoint" | ) |
constexpr std::string_view zyppng::PROVIDER_ROOT | ( | "zconfig://media/ProviderRoot" | ) |
constexpr std::string_view zyppng::NETWORK_METALINK_ENABLED | ( | "zypp-nw-metalink-enabled" | ) |
constexpr std::string_view zyppng::HANDLER_SPECIFIC_DEVICES | ( | "zypp-req-specific-devices" | ) |
zyppng::ZYPP_IMPL_PRIVATE | ( | Provide | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideMediaSpec | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideFileSpec | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideItem | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | MediaDataVerifier | ) |
zyppng::ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | ProvideStatus | ) |
|
static |
zyppng::ZYPP_IMPL_PRIVATE | ( | ProvideItem | ) |
|
static |
Definition at line 132 of file providemessage.cc.
std::ostream& zyppng::operator<< | ( | std::ostream & | str, |
const ProvideFileSpec & | obj | ||
) |
Definition at line 282 of file providespec.cc.
std::ostream& zyppng::dumpOn | ( | std::ostream & | str, |
const ProvideFileSpec & | obj | ||
) |
Definition at line 285 of file providespec.cc.
|
static |
Definition at line 54 of file eventdispatcher_glib.cc.
|
static |
Definition at line 163 of file eventdispatcher_glib.cc.
constexpr bool zyppng::is_instance_of_v = is_instance_of<Templ,Type>::value |
Definition at line 120 of file type_traits.h.
constexpr auto zyppng::MAX_CMDLEN = 256 |
Definition at line 19 of file stompframestream.cc.
constexpr auto zyppng::MAX_HDRLEN = 8 * 1024 |
Definition at line 20 of file stompframestream.cc.
constexpr auto zyppng::MAX_BODYLEN = 1024 * 1024 |
Definition at line 21 of file stompframestream.cc.
constexpr std::string_view zyppng::CurlNativeErrorCodeDescKey = "nativeErrorCodeDesc" |
Definition at line 20 of file networkrequesterror.cc.
constexpr std::string_view zyppng::CurlNativeErrorDescKey = "nativeErrorDesc" |
Definition at line 21 of file networkrequesterror.cc.