From 2d0a7bb434ebef179ab4955dfb09262452213190 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 6 Oct 2014 14:54:53 +0200 Subject: rename StopAuthentication -> CheckStopAuthentication and make it protected --- apt-pkg/acquire-item.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'apt-pkg/acquire-item.h') diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index 393f3a250..02b8c13e8 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -413,6 +413,10 @@ class pkgAcqMetaBase : public pkgAcquire::Item */ bool CheckAuthDone(std::string Message, const std::string &RealURI); + /** Check if the current item should fail at this point */ + bool CheckStopAuthentication(const std::string &RealURI, + const std::string &Message); + /** \brief Check that the release file is a release file for the * correct distribution. * @@ -436,11 +440,6 @@ class pkgAcqMetaBase : public pkgAcquire::Item */ void TransactionStageRemoval(Item *I, const std::string &FinalFile); - /** Check if the current item should fail at this point */ - bool StopAuthentication(const std::string &RealURI, - const std::string &Message); - - pkgAcqMetaBase(pkgAcquire *Owner, const std::vector* IndexTargets, indexRecords* MetaIndexParser, -- cgit v1.2.3