15 #ifndef ZYPP_TARGET_RPM_RPMDB_H
16 #define ZYPP_TARGET_RPM_RPMDB_H
54 typedef class InstTargetError
Error;
85 return( (val_r & bits_r) == bits_r );
116 static void removeV4(
const Pathname & dbdir_r,
bool v3backup_r );
122 static void removeV3(
const Pathname & dbdir_r,
bool v3backup_r );
169 return( !
_root.empty() );
198 Pathname dbPath_r = Pathname(),
199 bool doRebuild_r =
false );
238 std::list<PublicKey>
pubkeys()
const;
257 std::list<FileInfo>
fileList(
const std::string & name_r,
const Edition & edition_r )
const;
263 bool hasFile(
const std::string & file_r,
const std::string & name_r =
"" )
const;
269 std::string
whoOwnsFile(
const std::string & file_r )
const;
274 bool hasProvides(
const std::string & tag_r )
const;
289 bool hasPackage(
const std::string & name_r )
const;
307 void getData(
const std::string & name_r,
415 const std::string& name,
417 const char* difffailmsg,
418 const char* diffgenmsg);
534 virtual std::ostream &
dumpOn( std::ostream & str )
const;
546 #endif // ZYPP_TARGET_RPM_RPMDB_H