diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-06-18 10:57:28 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-06-18 10:57:36 +0200 |
commit | ae286f57156e344713ec3a50cb8f358953577ca7 (patch) | |
tree | 79b3b9a022915c120c69ae674ba117b469f688a9 /apt-private/private-download.h | |
parent | d6df4c2c0695cb19f471ba4c10b79edb60d14a12 (diff) |
merge upload 1.0.1ubuntu2.1
Diffstat (limited to 'apt-private/private-download.h')
-rw-r--r-- | apt-private/private-download.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-private/private-download.h b/apt-private/private-download.h index a108aa531..a90ac7eaa 100644 --- a/apt-private/private-download.h +++ b/apt-private/private-download.h @@ -5,7 +5,13 @@ class pkgAcquire; +// Check if all files in the fetcher are authenticated APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser); + +// show a authentication warning prompt and return true if the system +// should continue +APT_PUBLIC bool AuthPrompt(std::string UntrustedList, bool const PromptUser); + APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure); #endif |