diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:28:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:28:44 +0000 |
commit | 179b27be1e4cf4e68ccb9df64c64156dbb7b3820 (patch) | |
tree | 656b95c0086c4c552c43914f47b3c292b0276618 /apt-private/private-output.h | |
parent | Adding upstream version 2.9.6. (diff) | |
download | apt-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.h | 2 |
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); |