summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-04-01 13:21:38 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-04-01 13:21:38 +0200
commit40795fca99c72b0b43124cdfffb40e8fa3c4d952 (patch)
tree4c502aa81fb176beef13c99838d650fcd3cccad6 /apt-pkg/edsp.h
parent6d5bd6147e210bfb93e4ce0009d4e71c5995eab1 (diff)
parse also the action flags Upgrade, Dist-Upgrade and alike from the request
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r--apt-pkg/edsp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h
index 742d89b43..75733c2d2 100644
--- a/apt-pkg/edsp.h
+++ b/apt-pkg/edsp.h
@@ -14,18 +14,20 @@
class EDSP /*{{{*/
{
bool static ReadLine(int const input, std::string &line);
+ bool static StringToBool(char const *answer, bool const defValue);
public:
bool static WriteRequest(pkgDepCache &Cache, FILE* output,
- bool const Upgrade = false,
- bool const DistUpgrade = false,
- bool const AutoRemove = false);
+ bool const upgrade = false,
+ bool const distUpgrade = false,
+ bool const autoRemove = false);
bool static WriteScenario(pkgDepCache &Cache, FILE* output);
bool static ReadResponse(FILE* input, pkgDepCache &Cache);
// ReadScenario is provided by the listparser infrastructure
bool static ReadRequest(int const input, std::list<std::string> &install,
- std::list<std::string> &remove);
+ std::list<std::string> &remove, bool &upgrade,
+ bool &distUpgrade, bool &autoRemove);
bool static ApplyRequest(std::list<std::string> const &install,
std::list<std::string> const &remove,
pkgDepCache &Cache);