]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-show.h
ensure FileFd doesn't try to open /dev/null as atomic and co
[apt.git] / apt-private / private-show.h
index b428c7af0c702cf9f632378d63fcdc39f84f349b..80871b8178fb580cf88c5926a10eef2d67571c74 100644 (file)
@@ -1,12 +1,17 @@
 #ifndef APT_PRIVATE_SHOW_H
 #define APT_PRIVATE_SHOW_H
 
-#include <apt-pkg/cmndline.h>
+#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/macros.h>
 
-namespace APT {
-   namespace Cmd {
+#include <iostream>
+
+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);
 
-      bool ShowPackage(CommandLine &CmdL);
-   }
-}
 #endif