RpmDb.cc File Reference

#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/Date.h"
#include "zypp/Pathname.h"
#include "zypp/PathInfo.h"
#include "zypp/target/rpm/RpmDb.h"
#include "zypp/target/rpm/RpmCallbacks.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::Logfile
 Simple wrapper for progress log. More...
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


Define Documentation

#define _  )     X
 

Definition at line 46 of file RpmDb.cc.

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

Referenced by zypp::ui::asString(), zypp::target::rpm::RpmDb::dumpOn(), and zypp::target::rpm::operator<<().

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

Definition at line 157 of file RpmDb.cc.

#define FILEFORBACKUPFILES   "YaSTBackupModifiedFiles"
 

Definition at line 158 of file RpmDb.cc.

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

Definition at line 318 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,
 )     str << ( _dbStateInfo & B ? C : '-' )
 


Generated on Thu Jul 6 00:07:29 2006 for zypp by  doxygen 1.4.6