#include "librpm.h"#include <cstdlib>#include <cstdio>#include <ctime>#include <iostream>#include <fstream>#include <list>#include <map>#include <set>#include <string>#include <vector>#include <algorithm>#include "zypp/base/Logger.h"#include "zypp/base/String.h"#include "zypp/Date.h"#include "zypp/Pathname.h"#include "zypp/PathInfo.h"#include "zypp/PublicKey.h"#include "zypp/target/rpm/RpmDb.h"#include "zypp/target/rpm/RpmCallbacks.h"#include "zypp/target/CommitLog.h"#include "zypp/target/rpm/librpmDb.h"#include "zypp/target/rpm/RpmPackageImpl.h"#include "zypp/target/rpm/RpmException.h"#include "zypp/CapSet.h"#include "zypp/CapFactory.h"#include "zypp/KeyRing.h"#include "zypp/ZYppFactory.h"#include "zypp/TmpPath.h"Go to the source code of this file.
Namespaces | |
| namespace | zypp |
| namespace | zypp::target |
| namespace | zypp::target::rpm |
Classes | |
| struct | zypp::target::rpm::KeyRingSignalReceiver |
| class | zypp::target::rpm::RpmDb::Packages |
| Helper class for RpmDb::getPackages() to build the list<Package::Ptr> returned. More... | |
Defines | |
| #define | _(X) X |
| #define | ENUM_OUT(B, C) str << ( obj & RpmDb::B ? C : '-' ) |
| #define | WARNINGMAILPATH "/var/log/YaST2/" |
| #define | FILEFORBACKUPFILES "YaSTBackupModifiedFiles" |
| #define | FAILIFNOTINITIALIZED if( ! initialized() ) { ZYPP_THROW(RpmDbNotOpenException()); } |
| #define | ENUM_OUT(B, C) str << ( _dbStateInfo & B ? C : '-' ) |
Functions | |
| unsigned | zypp::target::rpm::diffFiles (const std::string file1, const std::string file2, std::string &out, int maxlines) |
| string | zypp::target::rpm::stringPath (const Pathname &root_r, const Pathname &sub_r) |
| ostream & | zypp::target::rpm::operator<< (ostream &str, const RpmDb::DbStateInfoBits &obj) |
Variables | |
| static shared_ptr< KeyRingSignalReceiver > | zypp::target::rpm::sKeyRingReceiver |
Definition in file RpmDb.cc.
| #define ENUM_OUT | ( | B, | |||
| C | ) | str << ( obj & RpmDb::B ? C : '-' ) |
Referenced by zypp::ui::asString(), zypp::target::rpm::RpmDb::dumpOn(), and zypp::target::rpm::operator<<().
| #define FAILIFNOTINITIALIZED if( ! initialized() ) { ZYPP_THROW(RpmDbNotOpenException()); } |
Definition at line 244 of file RpmDb.cc.
Referenced by zypp::target::rpm::RpmDb::doInstallPackage(), zypp::target::rpm::RpmDb::doRebuildDatabase(), and zypp::target::rpm::RpmDb::importPubkey().
| #define ENUM_OUT | ( | B, | |||
| C | ) | str << ( _dbStateInfo & B ? C : '-' ) |
1.5.0