apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

private-show.cc File Reference
#include <config.h>
#include <apt-pkg/cachefile.h>
#include <apt-pkg/cacheset.h>
#include <apt-pkg/cmndline.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/depcache.h>
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/hashes.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/macros.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/pkgrecords.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/policy.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/tagfile.h>
#include <apt-private/private-cacheset.h>
#include <apt-private/private-output.h>
#include <apt-private/private-install.h>
#include <apt-private/private-show.h>
#include <ostream>
#include <string>
#include <stdio.h>
#include <unistd.h>
#include <apti18n.h>
Include dependency graph for private-show.cc:

Go to the source code of this file.

Functions

pkgRecords::ParserLookupParser (pkgRecords &Recs, pkgCache::VerIterator const &V, pkgCache::VerFileIterator &Vf)
 
static APT_PURE char const * skipDescription (char const *DescP, size_t const Length, bool fields)
 
static APT_PURE char const * findDescriptionField (char const *DescP, size_t const Length)
 
static APT_PURE char const * skipColonSpaces (char const *Buffer, size_t const Length)
 
bool DisplayRecordV1 (pkgCacheFile &, pkgRecords &Recs, pkgCache::VerIterator const &V, pkgCache::VerFileIterator const &Vf, char const *Buffer, size_t Length, std::ostream &out)
 
static bool DisplayRecordV2 (pkgCacheFile &CacheFile, pkgRecords &Recs, pkgCache::VerIterator const &V, pkgCache::VerFileIterator const &Vf, char const *Buffer, size_t const Length, std::ostream &out)
 
bool ShowPackage (CommandLine &CmdL)
 
static std::string Sha1FromString (std::string const &input)
 
bool ShowSrcPackage (CommandLine &CmdL)
 
bool Policy (CommandLine &CmdL)
 

Function Documentation

◆ DisplayRecordV1()

bool DisplayRecordV1 ( pkgCacheFile CacheFile,
pkgRecords Recs,
pkgCache::VerIterator const &  V,
pkgCache::VerFileIterator const &  Vf,
char const *  Buffer,
size_t  Length,
std::ostream &  out 
)

◆ DisplayRecordV2()

◆ findDescriptionField()

static APT_PURE char const* findDescriptionField ( char const *  DescP,
size_t const  Length 
)
static

Definition at line 65 of file private-show.cc.

Referenced by DisplayRecordV1().

◆ LookupParser()

pkgRecords::Parser& LookupParser ( pkgRecords Recs,
pkgCache::VerIterator const &  V,
pkgCache::VerFileIterator Vf 
)

Definition at line 35 of file private-show.cc.

References pkgRecords::Lookup(), and pkgCache< Str, Itr >::Flag::NotSource.

Referenced by Search(), and ShowPackage().

◆ Policy()

◆ Sha1FromString()

static std::string Sha1FromString ( std::string const &  input)
static

◆ ShowPackage()

◆ ShowSrcPackage()

◆ skipColonSpaces()

static APT_PURE char const* skipColonSpaces ( char const *  Buffer,
size_t const  Length 
)
static

Definition at line 82 of file private-show.cc.

Referenced by DisplayRecordV1().

◆ skipDescription()

static APT_PURE char const* skipDescription ( char const *  DescP,
size_t const  Length,
bool  fields 
)
static

Definition at line 46 of file private-show.cc.

Referenced by DisplayRecordV1().