summaryrefslogtreecommitdiff
path: root/apt-private/private-download.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-10 14:47:03 +0200
committerMichael Vogt <mvo@debian.org>2014-06-10 14:47:03 +0200
commitac00cca724734db58ad14ab8c77d445d0df3bc9f (patch)
treef476daeecf8cff875e074a819a9229b8a670435a /apt-private/private-download.h
parentc0a5e4644c8cf77feb035cfe8961f40099e1e3c6 (diff)
parenta3f1d60cb75ab83f63a52a43c056a4752c8fdeb2 (diff)
Merge remote-tracking branch 'mvo/bugfix/apt-get-source-unauthenticated-warning' into debian/sid
Diffstat (limited to 'apt-private/private-download.h')
-rw-r--r--apt-private/private-download.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-private/private-download.h b/apt-private/private-download.h
index a108aa531..a90ac7eaa 100644
--- a/apt-private/private-download.h
+++ b/apt-private/private-download.h
@@ -5,7 +5,13 @@
class pkgAcquire;
+// Check if all files in the fetcher are authenticated
APT_PUBLIC bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser);
+
+// show a authentication warning prompt and return true if the system
+// should continue
+APT_PUBLIC bool AuthPrompt(std::string UntrustedList, bool const PromptUser);
+
APT_PUBLIC bool AcquireRun(pkgAcquire &Fetcher, int const PulseInterval, bool * const Failure, bool * const TransientNetworkFailure);
#endif