]> git.saurik.com Git - apt.git/blob - apt-private/private-download.h
refactor key removal code to reuse it in next step
[apt.git] / apt-private / private-download.h
1 #ifndef APT_PRIVATE_DOWNLOAD_H
2 #define APT_PRIVATE_DOWNLOAD_H
3
4 #include <apt-pkg/macros.h>
5
6 class pkgAcquire;
7
8 // Check if all files in the fetcher are authenticated
9 APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser);
10
11 // show a authentication warning prompt and return true if the system
12 // should continue
13 APT_PUBLIC bool AuthPrompt(std::string UntrustedList, bool const PromptUser);
14
15 APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
16
17 #endif