apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

private-download.h
Go to the documentation of this file.
1 #ifndef APT_PRIVATE_DOWNLOAD_H
2 #define APT_PRIVATE_DOWNLOAD_H
3 
4 #include <apt-pkg/acquire.h>
5 #include <apt-pkg/macros.h>
6 
8 
9 #include <string>
10 #include <vector>
11 
12 // Check if all files in the fetcher are authenticated
13 bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser);
14 
15 // show a authentication warning prompt and return true if the system
16 // should continue
17 bool AuthPrompt(std::vector<std::string> const &UntrustedList, bool const PromptUser);
18 
19 APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
20 
21 bool CheckFreeSpaceBeforeDownload(std::string const &Dir, unsigned long long FetchBytes);
22 
24 {
26 public:
28 };
29 
30 class CommandLine;
31 
34 
35 APT_PUBLIC bool DoClean(CommandLine &CmdL);
37 
38 #endif
Represents the process by which a pkgAcquire object should retrieve a file or a collection of files.
Definition: acquire-item.h:59
#define APT_PUBLIC
Definition: macros.h:77
bool AuthPrompt(std::vector< std::string > const &UntrustedList, bool const PromptUser)
APT_PUBLIC bool DoClean(CommandLine &CmdL)
APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool *const Failure, bool *const TransientNetworkFailure)
APT_PUBLIC bool DoDownload(CommandLine &CmdL)
APT_PUBLIC bool DoChangelog(CommandLine &CmdL)
bool CheckFreeSpaceBeforeDownload(std::string const &Dir, unsigned long long FetchBytes)
bool CheckAuth(pkgAcquire &Fetcher, bool const PromptUser)
APT_PUBLIC bool DoAutoClean(CommandLine &CmdL)