]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
* merged daniel burrows fixes for the auto-mark code
[apt.git] / apt-pkg / algorithms.h
index 82d7b7aad2b8afbdc6f0e1eb9a53cda72ba3bdad..174a7f58d18aea15aa0c36bf2fde93c243a3de8a 100644 (file)
@@ -132,21 +132,5 @@ bool pkgAllUpgrade(pkgDepCache &Cache);
 bool pkgMinimizeUpgrade(pkgDepCache &Cache);
 
 void pkgPrioSortList(pkgCache &Cache,pkgCache::Version **List);
-
-
-// callback function that can be used by the client to bring in
-// certain own packages into the root set
-typedef bool (*InRootSetFunc)(pkgCache::PkgIterator);
-
-// Mark all reachable packages with pkgDepCache::StateCache.Marked 
-// the root-set are all essential packages+everything that was installed
-// manually
-//
-// If InRootSetFunc is set, it will be called for each PkgIterator. This
-// is usefull for clients that have there own idea about the root-set
-// 
-// Everything that is not reach can be removed
-bool pkgMarkUsed(pkgDepCache &Cache, InRootSetFunc f=NULL);
-                
                     
 #endif