diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-04-01 12:04:13 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-04-01 12:04:13 +0200 |
commit | 6d5bd6147e210bfb93e4ce0009d4e71c5995eab1 (patch) | |
tree | a35e8ca517213dfe005a1aa6bd0a07a832e7aea5 /apt-pkg/edsp.h | |
parent | 93794bc92e8d2fd84c6e596e3238c31d0832c271 (diff) |
Read and apply install/remove requests correctly
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r-- | apt-pkg/edsp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h index 04d8c255f..742d89b43 100644 --- a/apt-pkg/edsp.h +++ b/apt-pkg/edsp.h @@ -13,6 +13,8 @@ class EDSP /*{{{*/ { + bool static ReadLine(int const input, std::string &line); + public: bool static WriteRequest(pkgDepCache &Cache, FILE* output, bool const Upgrade = false, @@ -22,7 +24,7 @@ public: bool static ReadResponse(FILE* input, pkgDepCache &Cache); // ReadScenario is provided by the listparser infrastructure - bool static ReadRequest(FILE* input, std::list<std::string> &install, + bool static ReadRequest(int const input, std::list<std::string> &install, std::list<std::string> &remove); bool static ApplyRequest(std::list<std::string> const &install, std::list<std::string> const &remove, |