#include <vector>
#include <map>
#include <stdio.h>
+#include <apt-pkg/macros.h>
+
+#ifndef APT_8_CLEANER_HEADERS
+using std::vector;
+using std::map;
+#endif
class pkgDPkgPMPrivate;
// Helpers
bool RunScriptsWithPkgs(const char *Cnf);
- bool SendV2Pkgs(FILE *F);
+ __deprecated bool SendV2Pkgs(FILE *F);
+ bool SendPkgsInfo(FILE * const F, unsigned int const &Version);
void WriteHistoryTag(std::string const &tag, std::string value);
+ // Terminal progress
+ void SetupTerminalScrollArea(int nr_scrolled_rows);
+ void SendTerminalProgress(float percentage);
+ void CleanupTerminal();
+
// apport integration
void WriteApportReport(const char *pkgpath, const char *errormsg);
// dpkg log
bool OpenLog();
bool CloseLog();
+
+ void StartPtyMagic();
+ void StopPtyMagic();
// input processing
void DoStdin(int master);