diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-07 16:47:40 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-07 16:47:40 +0100 |
commit | 760d4968005c97f0d5fd6403633f367aac89c763 (patch) | |
tree | 73f8ea2efb54abdac5545fb2d4fc885edfaf8151 /apt-pkg/algorithms.h | |
parent | dabe757a0a6d91e07ba30e3d580e49fe56eb4737 (diff) |
* move the ListUpdate() code from cachefile.h into algorithms.{cc,h}
as it does not require a cachefile at all
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index b72874d8e..defaed57d 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -33,6 +33,7 @@ #include <apt-pkg/packagemanager.h> #include <apt-pkg/depcache.h> +#include <apt-pkg/acquire.h> #include <iostream> @@ -130,5 +131,7 @@ bool pkgAllUpgrade(pkgDepCache &Cache); bool pkgMinimizeUpgrade(pkgDepCache &Cache); void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List); + +bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0); #endif |