summaryrefslogtreecommitdiffstats
path: root/apt-private/private-output.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:28:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:28:44 +0000
commit179b27be1e4cf4e68ccb9df64c64156dbb7b3820 (patch)
tree656b95c0086c4c552c43914f47b3c292b0276618 /apt-private/private-output.h
parentAdding upstream version 2.9.6. (diff)
downloadapt-179b27be1e4cf4e68ccb9df64c64156dbb7b3820.tar.xz
apt-179b27be1e4cf4e68ccb9df64c64156dbb7b3820.zip
Adding upstream version 2.9.7.upstream/2.9.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-private/private-output.h')
-rw-r--r--apt-private/private-output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-output.h b/apt-private/private-output.h
index 0eba6f4..8e1d472 100644
--- a/apt-private/private-output.h
+++ b/apt-private/private-output.h
@@ -132,6 +132,8 @@ 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);
APT_PUBLIC std::string PrettyFullName(pkgCache::PkgIterator const &Pkg);
+std::string CurrentVersion(pkgCacheFile * const Cache, pkgCache::PkgIterator const &Pkg);
+std::function<std::string(pkgCache::PkgIterator const &)> CurrentVersion(pkgCacheFile * const Cache);
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);