summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-06-24 12:34:34 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-06-24 12:34:34 +0000
commitdb1e7193fa7d5b86656c05112b9d6ad6e75845b8 (patch)
tree80d3884c6f4dcf29563002b0d5c222242d4c4bbc /apt-pkg/algorithms.h
parentd36ab88eb8a5e490e4a817b87f20cb3f890e0da1 (diff)
* moved the importend algorithm to algorithm.h as "pkgMarkUsed()"
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r--apt-pkg/algorithms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h
index 174a7f58d..210127ab9 100644
--- a/apt-pkg/algorithms.h
+++ b/apt-pkg/algorithms.h
@@ -132,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