From 3b5421b4c75f5c85b48cbb61bf22642ff52a6352 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:06 +0000 Subject: Start on acquire stuff Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff --- apt-pkg/acquire.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'apt-pkg/acquire.h') diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index b728d2133..355eb3c3a 100644 --- a/apt-pkg/acquire.h +++ b/apt-pkg/acquire.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.h,v 1.1 1998/10/15 06:59:59 jgg Exp $ +// $Id: acquire.h,v 1.2 1998/10/20 02:39:16 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -60,6 +60,9 @@ class pkgAcquire void Enqueue(Item *Item,string URI); public: + + const MethodConfig *GetConfig(string Access); + string QueueName(string URI); pkgAcquire(); ~pkgAcquire(); @@ -73,9 +76,8 @@ class pkgAcquire::Queue protected: - string Access; string URIMatch; - + vector Items; public: @@ -84,6 +86,8 @@ class pkgAcquire::Queue // Configuration information from each method struct pkgAcquire::MethodConfig { + MethodConfig *Next; + string Access; string Version; @@ -91,7 +95,6 @@ struct pkgAcquire::MethodConfig bool PreScan; MethodConfig(); - ~MethodConfig(); }; #endif -- cgit v1.2.3