]> git.saurik.com Git - apt.git/blame - apt-private/private-download.h
thread-safety tests: Adjust path to lists
[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
460601d5 6#include <string>
9112f777 7#include <vector>
460601d5 8
453b82a3 9class pkgAcquire;
866893a6 10
a3f1d60c 11// Check if all files in the fetcher are authenticated
63ff4208 12APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser);
a3f1d60c
MV
13
14// show a authentication warning prompt and return true if the system
15// should continue
9112f777 16APT_PUBLIC bool AuthPrompt(std::vector<std::string> const &UntrustedList, bool const PromptUser);
a3f1d60c 17
63ff4208 18APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
866893a6 19
9c81f8de
DK
20APT_PUBLIC bool CheckFreeSpaceBeforeDownload(std::string const &Dir, unsigned long long FetchBytes);
21
866893a6 22#endif