Classes | |
struct | KeyRingSignals |
Internal connection to rpm database. More... | |
struct | HeaderEntryGetter |
Helper for header data retieval. More... | |
class | BinHeader |
class | librpmDb |
Manage access to librpm database. More... | |
struct | RpmRemoveReport |
struct | RpmInstallReport |
struct | KeyRingSignalReceiver |
class | RpmDb |
Interface to the rpm program. More... | |
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 |
Wrapper class for rpm header struct. More... | |
struct | InstallResolvableReport |
struct | RemoveResolvableReport |
struct | RebuildDBReport |
struct | ConvertDBReport |
Enumerations | |
enum | RpmInstFlag { RPMINST_NONE = 0x0000, RPMINST_EXCLUDEDOCS = 0x0001, RPMINST_NOSCRIPTS = 0x0002, RPMINST_FORCE = 0x0004, RPMINST_NODEPS = 0x0008, RPMINST_IGNORESIZE = 0x0010, RPMINST_JUSTDB = 0x0020, RPMINST_NODIGEST = 0x0040, RPMINST_NOSIGNATURE = 0x0080, RPMINST_NOUPGRADE = 0x0100, RPMINST_TEST = 0x0200 } |
Bits representing rpm installation options. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &str, const librpmDb::DbDirInfo &obj) |
ostream & | operator<< (ostream &str, const librpmDb::db_const_iterator &obj) |
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) |
void | computeKeyRingSync (std::set< Edition > &rpmKeys_r, std::list< PublicKeyData > &zyppKeys_r) |
RpmDb::syncTrustedKeys helper Compute which keys need to be exprted to / imported from the zypp keyring. | |
Variables | |
const char * | quoteInFilename_m = "\'\"" |
static shared_ptr < KeyRingSignalReceiver > | sKeyRingReceiver |
Bits representing rpm installation options.
Use RpmInstFlags as a type-safe way of storing OR-combinations.
RPMINST_NONE | |
RPMINST_EXCLUDEDOCS | |
RPMINST_NOSCRIPTS | |
RPMINST_FORCE | |
RPMINST_NODEPS | |
RPMINST_IGNORESIZE | |
RPMINST_JUSTDB | |
RPMINST_NODIGEST | |
RPMINST_NOSIGNATURE | |
RPMINST_NOUPGRADE | |
RPMINST_TEST |
Definition at line 37 of file RpmFlags.h.
std::ostream& zypp::target::rpm::operator<< | ( | std::ostream & | str, | |
const librpmDb::DbDirInfo & | obj | |||
) |
Definition at line 544 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 | |||
) |
void zypp::target::rpm::convertV3toV4 | ( | const Pathname & | v3db_r, | |
const librpmDb::constPtr & | v4db_r | |||
) |
Definition at line 728 of file librpmDb.cv3.cc.
References zypp::Exception::asUserString(), zypp::target::rpm::ConvertDBReport::FAILED, INT, zypp::target::rpm::ConvertDBReport::NO_ERROR, ZYPP_RETHROW, and ZYPP_THROW.
Referenced by zypp::target::rpm::RpmDb::internal_initDatabase().
string zypp::target::rpm::@466::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 134 of file RpmDb.cc.
References zypp::ExternalProgram::close(), zypp::ExternalProgram::Discard_Stderr, and zypp::externalprogram::ExternalDataSource::receiveLine().
Definition at line 170 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 181 of file RpmDb.cc.
References zypp::target::rpm::RpmDb::DbSI_NO_INIT, and ENUM_OUT.
void zypp::target::rpm::@466::computeKeyRingSync | ( | std::set< Edition > & | rpmKeys_r, | |
std::list< PublicKeyData > & | zyppKeys_r | |||
) | [static] |
RpmDb::syncTrustedKeys helper Compute which keys need to be exprted to / imported from the zypp keyring.
Return result via argument list.
Definition at line 903 of file RpmDb.cc.
Referenced by zypp::target::rpm::RpmDb::syncTrustedKeys().
const char* zypp::target::rpm::quoteInFilename_m = "\'\"" [static] |
shared_ptr<KeyRingSignalReceiver> zypp::target::rpm::sKeyRingReceiver [static] |
Definition at line 132 of file RpmDb.cc.
Referenced by zypp::target::rpm::RpmDb::RpmDb(), and zypp::target::rpm::RpmDb::~RpmDb().