RpmDb.cc File Reference

#include "librpm.h"
#include <cstdlib>
#include <cstdio>
#include <ctime>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <algorithm>
#include <boost/format.hpp>
#include "zypp/base/Logger.h"
#include "zypp/base/String.h"
#include "zypp/base/Gettext.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/HistoryLog.h"
#include "zypp/target/rpm/librpmDb.h"
#include "zypp/target/rpm/RpmException.h"
#include "zypp/TmpPath.h"
#include "zypp/KeyRing.h"
#include "zypp/ZYppFactory.h"
#include "zypp/ZConfig.h"

Include dependency graph for RpmDb.cc:

Go to the source code of this file.

Namespaces

namespace  zypp
namespace  zypp::zypp_readonly_hack
namespace  zypp::target
namespace  zypp::target::rpm

Classes

struct  zypp::target::rpm::KeyRingSignalReceiver

Defines

#define WARNINGMAILPATH   "/var/log/YaST2/"
#define FILEFORBACKUPFILES   "YaSTBackupModifiedFiles"
#define MAXRPMMESSAGELINES   10000
#define ENUM_OUT(B, C)   str << ( obj & RpmDb::B ? C : '-' )
#define FAILIFNOTINITIALIZED   if( ! initialized() ) { ZYPP_THROW(RpmDbNotOpenException()); }
#define ENUM_OUT(B, C)   str << ( _dbStateInfo & B ? C : '-' )

Functions

bool zypp::zypp_readonly_hack::IGotIt ()
string zypp::target::rpm::rpmQuoteFilename (const Pathname &path_r)
unsigned zypp::target::rpm::diffFiles (const string file1, const string file2, 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)
void zypp::target::rpm::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 * zypp::target::rpm::quoteInFilename_m = "\'\""
static shared_ptr
< KeyRingSignalReceiver > 
zypp::target::rpm::sKeyRingReceiver


Detailed Description

Definition in file RpmDb.cc.


Define Documentation

#define WARNINGMAILPATH   "/var/log/YaST2/"

Definition at line 53 of file RpmDb.cc.

#define FILEFORBACKUPFILES   "YaSTBackupModifiedFiles"

Definition at line 54 of file RpmDb.cc.

#define MAXRPMMESSAGELINES   10000

Definition at line 55 of file RpmDb.cc.

Referenced by zypp::target::rpm::RpmDb::doInstallPackage().

#define ENUM_OUT ( B,
 )     str << ( obj & RpmDb::B ? C : '-' )

#define FAILIFNOTINITIALIZED   if( ! initialized() ) { ZYPP_THROW(RpmDbNotOpenException()); }

#define ENUM_OUT ( B,
 )     str << ( _dbStateInfo & B ? C : '-' )


Variable Documentation

std::string _release

const Edition* _inRpmKeys

Definition at line 894 of file RpmDb.cc.

const PublicKeyData* _inZyppKeys

Definition at line 895 of file RpmDb.cc.


Generated on Tue May 5 14:48:00 2015 for libzypp by  doxygen 1.5.6