summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
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,