]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
* cleanups, documentation updates (don't show any debug output if no Debug::pkgAutoma...
[apt.git] / apt-pkg / algorithms.h
index 0b38e4244fd24d62e86e83a9cb3f81ba654245e3..210127ab9125e321f5138242898baed9ce29d78d 100644 (file)
@@ -67,8 +67,10 @@ class pkgSimulate : public pkgPackageManager
    virtual bool Install(PkgIterator Pkg,string File);
    virtual bool Configure(PkgIterator Pkg);
    virtual bool Remove(PkgIterator Pkg,bool Purge);
+
+private:
    void ShortBreaks();
-   void Describe(PkgIterator iPkg,ostream &out,bool Now);
+   void Describe(PkgIterator iPkg,ostream &out,bool Current,bool Candidate);
    
    public:
 
@@ -130,5 +132,9 @@ bool pkgAllUpgrade(pkgDepCache &Cache);
 bool pkgMinimizeUpgrade(pkgDepCache &Cache);
 
 void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List);
+
+// mark all reachable packages, everything that is not reach can 
+// be removed
+bool pkgMarkUsed(pkgDepCache &Cache);
                     
 #endif