You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
548 B

  1. #ifndef APT_PRIVATE_DOWNLOAD_H
  2. #define APT_PRIVATE_DOWNLOAD_H
  3. #include <apt-pkg/macros.h>
  4. class pkgAcquire;
  5. // Check if all files in the fetcher are authenticated
  6. APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser);
  7. // show a authentication warning prompt and return true if the system
  8. // should continue
  9. APT_PUBLIC bool AuthPrompt(std::string UntrustedList, bool const PromptUser);
  10. APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
  11. #endif