dpkg 1.21.11
Functions
pkg.c File Reference

(e0e096046)

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

Functions

void pkg_set_status (struct pkginfo *pkg, enum pkgstatus status)
 Set the package installation status. More...
 
void pkg_set_eflags (struct pkginfo *pkg, enum pkgeflag eflag)
 Set the specified flags to 1 in the package error flags. More...
 
void pkg_clear_eflags (struct pkginfo *pkg, enum pkgeflag eflag)
 Clear the specified flags to 0 in the package error flags. More...
 
void pkg_reset_eflags (struct pkginfo *pkg)
 Reset the package error flags to 0. More...
 
void pkg_copy_eflags (struct pkginfo *pkg_dst, struct pkginfo *pkg_src)
 Copy the package error flags to another package. More...
 
void pkg_set_want (struct pkginfo *pkg, enum pkgwant want)
 Set the package selection status. More...
 
void pkgbin_blank (struct pkgbin *pkgbin)
 
void pkg_blank (struct pkginfo *pkg)
 
void pkgset_blank (struct pkgset *set)
 
void pkgset_link_pkg (struct pkgset *set, struct pkginfo *pkg)
 Link a pkginfo instance into a package set. More...
 
int pkgset_installed_instances (struct pkgset *set)
 Get the number of installed package instances in a package set. More...
 
bool pkg_is_informative (struct pkginfo *pkg, struct pkgbin *pkgbin)
 Check if a pkg is informative. More...