12 #ifndef ZYPP_ZYPP_DETAIL_ZYPPIMPL_H 13 #define ZYPP_ZYPP_DETAIL_ZYPPIMPL_H 17 #include <zypp/TmpPath.h> 19 #include <zypp/Resolver.h> 24 #include <zypp/ManagedFile.h> 156 int zypp_poll( std::vector<GPollFD> &fds,
int timeout = -1 );
165 #endif // ZYPP_ZYPP_DETAIL_ZYPPIMPL_H Target_Ptr target() const
KeyRing_Ptr keyRing() const
ResPoolProxy proxy() const
preliminary
void setHomePath(const Pathname &path)
set the home, if you need to change it
Result returned from ZYpp::commit.
static void clearShutdownSignal()
Disable the shutdown signal for zypp_poll calls.
String related utilities and Regular expression matching.
DiskUsageCounter::MountPointSet diskUsage()
Resolver_Ptr resolver() const
DiskUsageCounter::MountPointSet getPartitions() const
ResPool::instance().proxy();.
ResPoolProxy poolProxy() const
void initializeTarget(const Pathname &root, bool doRebuild_r)
void changeTargetTo(Target_Ptr newtarget_r)
Hook for actions to trigger if the Target changes (initialize/finish)
std::set< MountPoint > MountPointSet
shared_ptr< DiskUsageCounter > _disk_usage
defined mount points, used for disk usage counting
ZYppCommitResult commit(const ZYppCommitPolicy &policy_r)
Commit changes and transactions.
Options and policies for ZYpp::commit.
Pathname tmpPath() const
Get the path where zypp related plugins store tmp data.
void installSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
Pathname homePath() const
Get the path where zypp related plugins store persistent data and caches.
std::ostream & operator<<(std::ostream &str, const ZYppImpl &obj)
static void setShutdownSignal()
Enable the shutdown signal for zypp_poll calls.
Target_Ptr getTarget() const
Same as target but returns NULL if target is not initialized, instead of throwing.
friend std::ostream & operator<<(std::ostream &str, const ZYppImpl &obj)
int zypp_poll(std::vector< GPollFD > &fds, int timeout)
Small wrapper around g_poll that additionally listens to the shutdown FD returned by ZYpp::shutdownSi...
Easy-to use interface to the ZYPP dependency resolver.
void setPartitions(const DiskUsageCounter::MountPointSet &mp)
ManagedFile provideSrcPackage(const SrcPackage_constPtr &srcPackage_r)
Install a source package on the Target.
static ResPool instance()
Singleton ctor.