diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:10 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:10 +0000 |
commit | 281daf46d178d4fb6f43e8b13b9b51736db84d74 (patch) | |
tree | 236d9fb0f8b1fc26b22406ba6eab54967d69f253 /apt-pkg/acquire.h | |
parent | a4e87467fe5c5d12a617a43f3115c89daa54b7cf (diff) |
CD swapping support
Author: jgg
Date: 1999-07-03 03:10:35 GMT
CD swapping support
Diffstat (limited to 'apt-pkg/acquire.h')
-rw-r--r-- | apt-pkg/acquire.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index 6a1583cca..447761521 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.21 1999/06/13 05:06:40 jgg Exp $ +// $Id: acquire.h,v 1.22 1999/07/03 03:10:35 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -82,8 +82,8 @@ class pkgAcquire string QueueName(string URI,MethodConfig const *&Config); // FDSET managers for derived classes - void SetFds(int &Fd,fd_set *RSet,fd_set *WSet); - void RunFds(fd_set *RSet,fd_set *WSet); + virtual void SetFds(int &Fd,fd_set *RSet,fd_set *WSet); + virtual void RunFds(fd_set *RSet,fd_set *WSet); // A queue calls this when it dequeues an item void Bump(); @@ -95,7 +95,8 @@ class pkgAcquire enum RunResult {Continue,Failed,Cancelled}; RunResult Run(); - + void Shutdown(); + // Simple iteration mechanism inline Worker *WorkersBegin() {return Workers;}; Worker *WorkerStep(Worker *I); |