X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/172947cd7dc5c88c94c6ad269dc6c6be002ee958..d453c9a7ef236b4906b80648ae916a69ae780399:/apt-private/private-install.h diff --git a/apt-private/private-install.h b/apt-private/private-install.h index 8daa4a776..d2a9bed3f 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -16,20 +16,21 @@ class CacheFile; class CommandLine; class pkgProblemResolver; -#define RAMFS_MAGIC 0x858458f6 - APT_PUBLIC bool DoInstall(CommandLine &Cmd); -bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector &VolatileCmdL, CacheFile &Cache, std::map &verset, int UpgradeMode); +bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector &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; @@ -45,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;