diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-10 20:40:47 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-10 20:40:47 +0200 |
commit | db09a1c5dd74f422571c4130364bb7c78200e8c8 (patch) | |
tree | 4e7d72b2525c56c3d3708b425be1eb6a6459a6e0 /apt-pkg/algorithms.h | |
parent | 3fa950f16cb2997bccd97475f75c5f3e37609dd3 (diff) |
* apt-pkg/algorithms.cc:
- factor out of ListUpdate a AcquireUpdate to be able to provide your
own pkgAcquire fetcher to the wrapper
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index 37eacf1f8..076542c20 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -147,5 +147,7 @@ bool pkgMinimizeUpgrade(pkgDepCache &Cache); void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List); bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0); - +bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0, + bool const RunUpdateScripts = true, bool const ListCleanup = true); + #endif |