summaryrefslogtreecommitdiff
path: root/apt-private/private-show.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-04-11 12:59:06 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-05-11 17:58:46 +0200
commitbf53f39c9a0221b670ffff74053ed36fc502d5a0 (patch)
tree5038a5054962342e34905e44e20e359f30ab2367 /apt-private/private-show.h
parentc5e2fa2b772524c03b0c7f777ffea6f2485fe6ca (diff)
Support --with-source in show & search commands
Diffstat (limited to 'apt-private/private-show.h')
-rw-r--r--apt-private/private-show.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-private/private-show.h b/apt-private/private-show.h
index e48979c2c..9e5fa995f 100644
--- a/apt-private/private-show.h
+++ b/apt-private/private-show.h
@@ -3,6 +3,7 @@
#include <apt-pkg/macros.h>
#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/pkgrecords.h>
#include <iostream>
@@ -10,8 +11,12 @@ class CommandLine;
class pkgCacheFile;
APT_PUBLIC bool ShowPackage(CommandLine &CmdL);
-APT_PUBLIC bool DisplayRecordV1(pkgCacheFile &CacheFile, pkgCache::VerIterator const &V, std::ostream &out);
APT_PUBLIC bool ShowSrcPackage(CommandLine &CmdL);
APT_PUBLIC bool Policy(CommandLine &CmdL);
+pkgRecords::Parser &LookupParser(pkgRecords &Recs, pkgCache::VerIterator const &V, pkgCache::VerFileIterator &Vf);
+bool DisplayRecordV1(pkgCacheFile &CacheFile, pkgRecords &Recs,
+ pkgCache::VerIterator const &V, pkgCache::VerFileIterator const &Vf,
+ char const *Buffer, size_t const Length, std::ostream &out);
+
#endif