summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-06 14:54:53 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-06 14:54:53 +0200
commit2d0a7bb434ebef179ab4955dfb09262452213190 (patch)
tree4f4d5fd50a7958e7d49d51df1ccf59b738bf2e10 /apt-pkg/acquire-item.h
parent42299a28ac40721f6cf29c9b786924c2cd4a210f (diff)
rename StopAuthentication -> CheckStopAuthentication and make it protected
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h9
1 files changed, 4 insertions, 5 deletions
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<IndexTarget*>* IndexTargets,
indexRecords* MetaIndexParser,