X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/9c81f8de38df940559d13a3ea9591d63cbe970bb..08fcf9628806af202e555bd02b3611e4e9a3d757:/apt-private/private-install.h diff --git a/apt-private/private-install.h b/apt-private/private-install.h index 62276fbff..6bb863f61 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -18,16 +18,19 @@ class pkgProblemResolver; APT_PUBLIC bool DoInstall(CommandLine &Cmd); -bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<const char*> &VolatileCmdL, CacheFile &Cache, std::map<unsigned short, APT::VersionSet> &verset, int UpgradeMode); +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<const char*> &VolatileCmdL, CacheFile &Cache, int UpgradeMode); bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, int UpgradeMode); APT_PUBLIC bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, bool Safety = true); +bool CheckNothingBroken(CacheFile &Cache); +bool DoAutomaticRemove(CacheFile &Cache); // TryToInstall - Mark a package for installation /*{{{*/ -struct APT_PUBLIC TryToInstall { +struct TryToInstall { pkgCacheFile* Cache; pkgProblemResolver* Fix; bool FixBroken; @@ -43,7 +46,7 @@ struct APT_PUBLIC TryToInstall { }; /*}}}*/ // TryToRemove - Mark a package for removal /*{{{*/ -struct APT_PUBLIC TryToRemove { +struct TryToRemove { pkgCacheFile* Cache; pkgProblemResolver* Fix; bool PurgePkgs;