summaryrefslogtreecommitdiff
path: root/apt-private/private-install.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-04-13 12:32:35 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2018-04-15 21:11:42 +0200
commite9796b9c21ee7d8e8f5d6e2a24db43fc4368b557 (patch)
tree110d8fd225b790e491793e3619f470548b3e9c5a /apt-private/private-install.h
parent03cc48f6c6591d762c27f9b5c8627b267a7158e2 (diff)
Introduce experimental new hooks for command-line tools
This allows third-party package managers like snap or flatpak to hook in and suggest alternatives if packages could not be found, for example. This is still highly experimental and the protocol might change in future versions.
Diffstat (limited to 'apt-private/private-install.h')
-rw-r--r--apt-private/private-install.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.h b/apt-private/private-install.h
index c8b065331..2d27756c9 100644
--- a/apt-private/private-install.h
+++ b/apt-private/private-install.h
@@ -18,7 +18,7 @@ class pkgProblemResolver;
APT_PUBLIC bool DoInstall(CommandLine &Cmd);
bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<std::string> &VolatileCmdL, CacheFile &Cache,
- std::map<unsigned short, APT::VersionSet> &verset, int UpgradeMode);
+ std::map<unsigned short, APT::VersionSet> &verset, int UpgradeMode, std::set<std::string> &UnknownPackages);
bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, std::vector<std::string> &VolatileCmdL, CacheFile &Cache, int UpgradeMode);
bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache, int UpgradeMode);