dpkg 1.21.11
Functions
pkg-show.c File Reference

(9766de9bd)

#include <config.h>
#include <compat.h>
#include <string.h>
#include <dpkg/macros.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg-show.h>
Include dependency graph for pkg-show.c:

Functions

void varbuf_add_pkgbin_name (struct varbuf *vb, const struct pkginfo *pkg, const struct pkgbin *pkgbin, enum pkg_name_arch_when pnaw)
 Add a string representation of the package name to a varbuf. More...
 
const char * pkgbin_name_archqual (const struct pkginfo *pkg, const struct pkgbin *pkgbin)
 
const char * pkgbin_name_const (const struct pkginfo *pkg, const struct pkgbin *pkgbin, enum pkg_name_arch_when pnaw)
 Return a string representation of the package name. More...
 
const char * pkg_name_const (const struct pkginfo *pkg, enum pkg_name_arch_when pnaw)
 Return a string representation of the installed package name. More...
 
const char * pkgbin_name (struct pkginfo *pkg, struct pkgbin *pkgbin, enum pkg_name_arch_when pnaw)
 Return a string representation of the package name. More...
 
const char * pkg_name (struct pkginfo *pkg, enum pkg_name_arch_when pnaw)
 Return a string representation of the installed package name. More...
 
const char * pkgbin_synopsis (const struct pkginfo *pkg, const struct pkgbin *pkgbin, int *len)
 Return a string representation of the package synopsis. More...
 
const char * pkg_synopsis (const struct pkginfo *pkg, int *len)
 Return a string representation of the package synopsis. More...
 
int pkg_abbrev_want (const struct pkginfo *pkg)
 Return a character abbreviated representation of the package want status. More...
 
int pkg_abbrev_status (const struct pkginfo *pkg)
 Return a character abbreviated representation of the package current status. More...
 
int pkg_abbrev_eflag (const struct pkginfo *pkg)
 Return a character abbreviated representation of the package eflag status. More...
 
const char * pkg_want_name (const struct pkginfo *pkg)
 Return a string representation of the package want status name. More...
 
const char * pkg_eflag_name (const struct pkginfo *pkg)
 Return a string representation of the package eflag status name. More...
 
const char * pkg_status_name (const struct pkginfo *pkg)
 Return a string representation of the package current status name. More...
 
const char * pkg_priority_name (const struct pkginfo *pkg)
 Return a string representation of the package priority name. More...
 
int pkg_sorter_by_nonambig_name_arch (const void *a, const void *b)
 Compare a package to be sorted by non-ambiguous name and architecture. More...
 
void varbuf_add_source_version (struct varbuf *vb, const struct pkginfo *pkg, const struct pkgbin *pkgbin)
 Add a string representation of the source package version to a varbuf. More...
 
void pkg_source_version (struct dpkg_version *version, const struct pkginfo *pkg, const struct pkgbin *pkgbin)