X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/bc5095b7d708c7e376f98be6edc2ad7cceca57ed..18b162814683ecb7978dec49acf1db2b647defaa:/apt-private/private-install.h?ds=sidebyside diff --git a/apt-private/private-install.h b/apt-private/private-install.h index 8daa4a776..7a8cd5513 100644 --- a/apt-private/private-install.h +++ b/apt-private/private-install.h @@ -16,12 +16,11 @@ 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, @@ -29,7 +28,7 @@ APT_PUBLIC bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true, // TryToInstall - Mark a package for installation /*{{{*/ -struct APT_PUBLIC TryToInstall { +struct TryToInstall { pkgCacheFile* Cache; pkgProblemResolver* Fix; bool FixBroken; @@ -45,7 +44,7 @@ struct APT_PUBLIC TryToInstall { }; /*}}}*/ // TryToRemove - Mark a package for removal /*{{{*/ -struct APT_PUBLIC TryToRemove { +struct TryToRemove { pkgCacheFile* Cache; pkgProblemResolver* Fix; bool PurgePkgs;