]>
Commit | Line | Data |
---|---|---|
866893a6 DK |
1 | #ifndef APT_PRIVATE_DOWNLOAD_H |
2 | #define APT_PRIVATE_DOWNLOAD_H | |
3 | ||
63ff4208 DK |
4 | #include <apt-pkg/macros.h> |
5 | ||
453b82a3 | 6 | class pkgAcquire; |
866893a6 | 7 | |
a3f1d60c | 8 | // Check if all files in the fetcher are authenticated |
63ff4208 | 9 | APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser); |
a3f1d60c MV |
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 | ||
63ff4208 | 15 | APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure); |
866893a6 DK |
16 | |
17 | #endif |