summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-08 15:25:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-08 15:25:43 +0200
commit29bc06137f829d51608fe697f3e27125d883fcef (patch)
tree7121486de1ce74a3e979f3dc0d6bc60b8a59dfe7 /apt-pkg/algorithms.h
parentf96bcef72c47ab32f4742da2673a12b3a47d8367 (diff)
parenta1e9379a86f199817d275b2d28d1a6b61039fcaa (diff)
merged from ubuntu-plus-debian-experimental
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r--apt-pkg/algorithms.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h
index 99501bed1..86d5fbd53 100644
--- a/apt-pkg/algorithms.h
+++ b/apt-pkg/algorithms.h
@@ -78,6 +78,9 @@ private:
/*}}}*/
class pkgProblemResolver /*{{{*/
{
+ /** \brief dpointer placeholder (for later in case we need it) */
+ void *d;
+
pkgDepCache &Cache;
typedef pkgCache::PkgIterator PkgIterator;
typedef pkgCache::VerIterator VerIterator;
@@ -105,6 +108,9 @@ class pkgProblemResolver /*{{{*/
void MakeScores();
bool DoUpgrade(pkgCache::PkgIterator Pkg);
+
+ bool ResolveInternal(bool const BrokenFix = false);
+ bool ResolveByKeepInternal();
protected:
bool InstOrNewPolicyBroken(pkgCache::PkgIterator Pkg);