summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-03-31 15:10:13 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-03-31 15:10:13 +0200
commitc3b851268e6e900be2bf0bd715435db9010fd591 (patch)
tree029c45c6faffa0de55923fda83f943be3b8f16c6 /apt-pkg/algorithms.cc
parent29099cb6855af2e465d26e888160e4f97bda4f0b (diff)
rename edspwriter to straight edsp in toplevel as it does more than
just writing stuff… it also reads and can work for both: - APT talking to an external solver - an external solver (understanding EDSP) talking to APT
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index b55ff2897..00f558420 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -20,7 +20,7 @@
#include <apt-pkg/version.h>
#include <apt-pkg/sptr.h>
#include <apt-pkg/acquire-item.h>
-#include <apt-pkg/edspwriter.h>
+#include <apt-pkg/edsp.h>
#include <apti18n.h>
#include <sys/types.h>
@@ -743,15 +743,15 @@ bool pkgProblemResolver::Resolve(bool BrokenFix)
if (solver != "internal")
{
FILE* output = fopen("/tmp/scenario.log", "w");
- edspWriter::WriteScenario(Cache, output);
+ EDSP::WriteScenario(Cache, output);
fclose(output);
output = fopen("/tmp/request.log", "w");
- edspWriter::WriteRequest(Cache, output);
+ EDSP::WriteRequest(Cache, output);
fclose(output);
if (ResolveInternal(BrokenFix) == false)
return false;
output = fopen("/tmp/solution.log", "w");
- edspWriter::WriteSolution(Cache, output);
+ EDSP::WriteSolution(Cache, output);
fclose(output);
return true;
}