]> git.saurik.com Git - apt.git/blame - apt-private/private-download.h
add pkgAcquire::TransactionHasError()
[apt.git] / apt-private / private-download.h
CommitLineData
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 6class pkgAcquire;
866893a6 7
a3f1d60c 8// Check if all files in the fetcher are authenticated
63ff4208 9APT_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
13APT_PUBLIC bool AuthPrompt(std::string UntrustedList, bool const PromptUser);
14
63ff4208 15APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
866893a6
DK
16
17#endif