summaryrefslogtreecommitdiff
path: root/apt-private/private-output.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-12-11 17:38:04 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2019-01-07 08:03:34 +0100
commitb78d18378213292691b5132975086d9e80973a81 (patch)
tree8f45c014f0a96aef829d202f72de4d073ce78509 /apt-private/private-output.h
parentfb1c5167f1a69fc47ca8e741b86fab1ae7c08309 (diff)
apt-private: Export some functions for apt-mark
We need to show a yes/no prompt in minimize-manual, and pretty package names, so export them here. Gbp-Dch: ignore
Diffstat (limited to 'apt-private/private-output.h')
-rw-r--r--apt-private/private-output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-output.h b/apt-private/private-output.h
index 1ac861328..c20cc9e17 100644
--- a/apt-private/private-output.h
+++ b/apt-private/private-output.h
@@ -101,11 +101,11 @@ bool ShowEssential(std::ostream &out,CacheFile &Cache);
void Stats(std::ostream &out, pkgDepCache &Dep);
// prompting
-bool YnPrompt(char const * const Question, bool Default=true);
+APT_PUBLIC bool YnPrompt(char const *const Question, bool Default = true);
bool YnPrompt(char const * const Question, bool const Default, bool const ShowGlobalErrors, std::ostream &c1o, std::ostream &c2o);
bool AnalPrompt(std::string const &Question, const char *Text);
-std::string PrettyFullName(pkgCache::PkgIterator const &Pkg);
+APT_PUBLIC std::string PrettyFullName(pkgCache::PkgIterator const &Pkg);
std::string CandidateVersion(pkgCacheFile * const Cache, pkgCache::PkgIterator const &Pkg);
std::function<std::string(pkgCache::PkgIterator const &)> CandidateVersion(pkgCacheFile * const Cache);
std::string CurrentToCandidateVersion(pkgCacheFile * const Cache, pkgCache::PkgIterator const &Pkg);