summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:06 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:06 +0000
commit3b5421b4c75f5c85b48cbb61bf22642ff52a6352 (patch)
tree1c2b393ca91c645c2b324eb20bf9c5492dbd1519 /apt-pkg/acquire.h
parent303a1703ca47c78f2b5ff6887ba6a10907465874 (diff)
Start on acquire stuff
Author: jgg Date: 1998-10-20 02:39:12 GMT Start on acquire stuff
Diffstat (limited to 'apt-pkg/acquire.h')
-rw-r--r--apt-pkg/acquire.h11
1 files changed, 7 insertions, 4 deletions
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<Item *> 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