summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.h
diff options
context:
space:
mode:
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);