X-Git-Url: http://git.hcoop.net/ntk/apt.git/blobdiff_plain/63ff42089863cda53aee240ea0124106e8b4d983..d73fe42cf042fbc9d8d2b38eb67bd7efaa4be412:/apt-private/private-download.h diff --git a/apt-private/private-download.h b/apt-private/private-download.h index a108aa53..a90ac7ea 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