]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGES
[apt.git] / apt-pkg / algorithms.h
index 9dfa1538a895345fb7dfddcc558248b1947a8537..80f6578eb4c9a8d9e88b0f1a5bb121a2769c87b0 100644 (file)
@@ -46,10 +46,9 @@ using std::ostream;
 
 #ifndef APT_9_CLEANER_HEADERS
 #include <apt-pkg/upgrade.h>
+#include <apt-pkg/update.h>
 #endif
 
-class pkgAcquireStatus;
-
 
 class pkgSimulate : public pkgPackageManager                           /*{{{*/
 {
@@ -152,8 +151,5 @@ bool pkgFixBroken(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