ff2aec19ebbea242b26be7e2722c66a7fcb9b4cc
[apt.git] / cmdline / cmdline.h
1 // -*- mode: c++; mode: fold -*-
2
3 #include <apt-pkg/algorithms.h>
4
5 #include <fstream>
6 #include <stdio.h>
7
8 using std::ostream;
9 using std::ofstream;
10
11 static ostream c0out(0);
12 static ostream c1out(0);
13 static ostream c2out(0);
14 static ofstream devnull("/dev/null");
15 static unsigned int ScreenWidth = 80;
16
17 bool YnPrompt();
18 bool AnalPrompt(const char *Text);
19 void SigWinch(int);
20 bool ShowList(ostream &out,string Title,string List,string VersionsList);
21
22 const char *op2str(int op);
23