Classes | |
| struct | KeyRingSignals |
| Internal connection to rpm database. More... | |
| class | BinHeader |
| class | librpmDb |
| struct | RpmRemoveReport |
| struct | RpmInstallReport |
| struct | KeyRingSignalReceiver |
| class | RpmDb |
| class | RpmException |
| Just inherits Exception to separate media exceptions. More... | |
| class | GlobalRpmInitException |
| class | RpmInvalidRootException |
| class | RpmAccessBlockedException |
| class | RpmSubprocessException |
| class | RpmInitException |
| class | RpmDbOpenException |
| class | RpmDbAlreadyOpenException |
| class | RpmDbNotOpenException |
| class | RpmDbConvertException |
| class | RpmNullDatabaseException |
| struct | FileInfo |
| class | RpmHeader |
| class | RPMPackageImpl |
| Class representing a package. More... | |
| struct | InstallResolvableReport |
| struct | RemoveResolvableReport |
| struct | RebuildDBReport |
| struct | ConvertDBReport |
| struct | ScanDBReport |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const librpmDb::DbDirInfo &obj) |
| ostream & | operator<< (ostream &str, const librpmDb::db_const_iterator &obj) |
| static ssize_t | Pread (FD_t fd, void *buf, size_t count, off_t offset) |
| static FD_t | fadOpen (const char *path) |
| static int | fadNextOffset (FD_t fd, unsigned int lastOffset) |
| static int | fadFirstOffset (FD_t fd) |
| static int | dncmp (const void *a, const void *b) |
| static void | compressFilelist (Header h) |
| void | providePackageNVR (Header h) |
| void | internal_convertV3toV4 (const Pathname &v3db_r, const librpmDb::constPtr &v4db_r, callback::SendReport< ConvertDBReport > &report) |
| void | convertV3toV4 (const Pathname &v3db_r, const librpmDb::constPtr &v4db_r) |
| string | rpmQuoteFilename (const Pathname &path_r) |
| unsigned | diffFiles (const string file1, const string file2, string &out, int maxlines) |
| string | stringPath (const Pathname &root_r, const Pathname &sub_r) |
| ostream & | operator<< (ostream &str, const RpmDb::DbStateInfoBits &obj) |
| static void | insertCaps (CapSet &capset, capability::CapabilityImplPtrSet ptrset, CapFactory &factory) |
Variables | |
| static int | fadFileSize |
| const char * | quoteInFilename_m = " \t" |
| static shared_ptr < KeyRingSignalReceiver > | sKeyRingReceiver |
| std::ostream& zypp::target::rpm::operator<< | ( | std::ostream & | str, | |
| const librpmDb::DbDirInfo & | obj | |||
| ) |
Definition at line 554 of file librpmDb.cc.
References zypp::target::rpm::librpmDb::DbDirInfo::_dbDir, zypp::target::rpm::librpmDb::DbDirInfo::_dbV3, zypp::target::rpm::librpmDb::DbDirInfo::_dbV3ToV4, zypp::target::rpm::librpmDb::DbDirInfo::_dbV4, zypp::target::rpm::librpmDb::DbDirInfo::dbPath(), zypp::target::rpm::librpmDb::DbDirInfo::illegalArgs(), and zypp::target::rpm::librpmDb::DbDirInfo::root().
| ostream& zypp::target::rpm::operator<< | ( | ostream & | str, | |
| const librpmDb::db_const_iterator & | obj | |||
| ) |
| static ssize_t zypp::target::rpm::Pread | ( | FD_t | fd, | |
| void * | buf, | |||
| size_t | count, | |||
| off_t | offset | |||
| ) | [static] |
| static FD_t zypp::target::rpm::fadOpen | ( | const char * | path | ) | [static] |
Definition at line 61 of file librpmDb.cv3.cc.
References FA_MAGIC, fadFileSize, faFileHeader::magic, and Pread().
Referenced by internal_convertV3toV4().
| static int zypp::target::rpm::fadNextOffset | ( | FD_t | fd, | |
| unsigned int | lastOffset | |||
| ) | [static] |
Definition at line 97 of file librpmDb.cv3.cc.
References fadFileSize, faHeader::isFree, Pread(), and faHeader::size.
Referenced by fadFirstOffset(), and internal_convertV3toV4().
| static int zypp::target::rpm::fadFirstOffset | ( | FD_t | fd | ) | [static] |
Definition at line 139 of file librpmDb.cv3.cc.
References fadNextOffset().
Referenced by internal_convertV3toV4().
| static int zypp::target::rpm::dncmp | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
| static void zypp::target::rpm::compressFilelist | ( | Header | h | ) | [static] |
Definition at line 155 of file librpmDb.cv3.cc.
References dncmp().
Referenced by internal_convertV3toV4().
| void zypp::target::rpm::providePackageNVR | ( | Header | h | ) |
Definition at line 261 of file librpmDb.cv3.cc.
References name.
Referenced by internal_convertV3toV4().
| void zypp::target::rpm::internal_convertV3toV4 | ( | const Pathname & | v3db_r, | |
| const librpmDb::constPtr & | v4db_r, | |||
| callback::SendReport< ConvertDBReport > & | report | |||
| ) |
= CBSuggest::CANCEL
Definition at line 367 of file librpmDb.cv3.cc.
References compressFilelist(), ERR, fadFirstOffset(), fadNextOffset(), fadOpen(), INT, MIL, name, providePackageNVR(), WAR, and ZYPP_THROW.
Referenced by convertV3toV4().
| void zypp::target::rpm::convertV3toV4 | ( | const Pathname & | v3db_r, | |
| const librpmDb::constPtr & | v4db_r | |||
| ) |
Definition at line 540 of file librpmDb.cv3.cc.
References zypp::Exception::asUserString(), zypp::target::rpm::ConvertDBReport::FAILED, internal_convertV3toV4(), zypp::target::rpm::ConvertDBReport::NO_ERROR, report, and ZYPP_RETHROW.
Referenced by zypp::target::rpm::RpmDb::internal_initDatabase().
| string zypp::target::rpm::@598::rpmQuoteFilename | ( | const Pathname & | path_r | ) | [inline, static] |
| unsigned zypp::target::rpm::diffFiles | ( | const string | file1, | |
| const string | file2, | |||
| string & | out, | |||
| int | maxlines | |||
| ) |
Definition at line 113 of file RpmDb.cc.
References zypp::ExternalProgram::close(), zypp::ExternalProgram::Discard_Stderr, and zypp::externalprogram::ExternalDataSource::receiveLine().
Definition at line 149 of file RpmDb.cc.
Referenced by zypp::target::rpm::RpmDb::initDatabase(), and zypp::target::rpm::RpmDb::internal_initDatabase().
| ostream& zypp::target::rpm::operator<< | ( | ostream & | str, | |
| const RpmDb::DbStateInfoBits & | obj | |||
| ) |
Definition at line 160 of file RpmDb.cc.
References zypp::target::rpm::RpmDb::DbSI_NO_INIT, and ENUM_OUT.
| static void zypp::target::rpm::insertCaps | ( | CapSet & | capset, | |
| capability::CapabilityImplPtrSet | ptrset, | |||
| CapFactory & | factory | |||
| ) | [inline, static] |
int zypp::target::rpm::fadFileSize [static] |
const char* zypp::target::rpm::quoteInFilename_m = " \t" [static] |
shared_ptr<KeyRingSignalReceiver> zypp::target::rpm::sKeyRingReceiver [static] |
Definition at line 111 of file RpmDb.cc.
Referenced by zypp::target::rpm::RpmDb::RpmDb(), and zypp::target::rpm::RpmDb::~RpmDb().
1.5.3